mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-16 03:41:26 +00:00
Fix "mmc2: unrecognised EXT_CSD revision 8"
This commit is contained in:
parent
dd5582f73e
commit
dcedd6c2ec
1 changed files with 12 additions and 0 deletions
12
patch/kernel/sun8i-default/0099-eMMC-fix-sunvellR69.patch
Normal file
12
patch/kernel/sun8i-default/0099-eMMC-fix-sunvellR69.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff -Naur a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
|
||||
--- a/drivers/mmc/core/mmc.c 2017-12-11 18:37:58.908013000 +0100
|
||||
+++ b/drivers/mmc/core/mmc.c 2018-01-18 11:55:47.942244701 +0100
|
||||
@@ -262,7 +262,7 @@
|
||||
}
|
||||
|
||||
card->ext_csd.rev = ext_csd[EXT_CSD_REV];
|
||||
- if (card->ext_csd.rev > 7) {
|
||||
+ if (card->ext_csd.rev > 8) {
|
||||
pr_err("%s: unrecognised EXT_CSD revision %d\n",
|
||||
mmc_hostname(card->host), card->ext_csd.rev);
|
||||
err = -EINVAL;
|
Loading…
Add table
Reference in a new issue