projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e96804
)
mmc: fsl_esdhc: make get_cd work well in dm_mmc_ops
author
Yinbo Zhu
<yinbo.zhu@nxp.com>
Fri, 14 Dec 2018 10:02:53 +0000
(18:02 +0800)
committer
York Sun
<york.sun@nxp.com>
Thu, 17 Jan 2019 21:17:10 +0000
(13:17 -0800)
This patch is to make get_cd work well when DM_MMC enabled
Signed-off-by: Yinbo Zhu <yinbo.zhu@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 99e588286653320baf8dd3d47ca1b4ea848e9f91..84637313e0ad0e737d706692e29dee22db483fd9 100644
(file)
--- a/
drivers/mmc/fsl_esdhc.c
+++ b/
drivers/mmc/fsl_esdhc.c
@@
-1545,7
+1545,6
@@
static int fsl_esdhc_get_cd(struct udevice *dev)
{
struct fsl_esdhc_priv *priv = dev_get_priv(dev);
- return true;
return esdhc_getcd_common(priv);
}