projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89d8e13
)
mmc: fsl_esdhc: not always setting esdhc fdt status to okay
author
Yang Li
<leoyang.li@nxp.com>
Fri, 21 Jul 2017 19:10:38 +0000
(14:10 -0500)
committer
York Sun
<york.sun@nxp.com>
Wed, 9 Aug 2017 16:57:32 +0000
(09:57 -0700)
We shouldn't always change the status to okay. There could be
situations that the esdhc is intentionally disabled in the device
tree.
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
drivers/mmc/fsl_esdhc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/fsl_esdhc.c
b/drivers/mmc/fsl_esdhc.c
index 2bf25ece149e2a673d7f17438ea2f5d0ed16e8f8..b69c9b71e4c833c3bedb2cea8b399e7593dc9352 100644
(file)
--- a/
drivers/mmc/fsl_esdhc.c
+++ b/
drivers/mmc/fsl_esdhc.c
@@
-930,8
+930,6
@@
__weak int esdhc_status_fixup(void *blob, const char *compat)
return 1;
}
#endif
- do_fixup_by_compat(blob, compat, "status", "okay",
- sizeof("okay"), 1);
return 0;
}