[U-Boot] [PATCH v1] mmc: fsl_esdhc: make get_cd work well in dm_mmc_ops
Yinbo Zhu
yinbo.zhu at nxp.com
Fri Dec 14 10:02:53 UTC 2018
This patch is to make get_cd work well when DM_MMC enabled
Signed-off-by: Yinbo Zhu <yinbo.zhu at nxp.com>
---
drivers/mmc/fsl_esdhc.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c
index 4528345..bbde8cf 100644
--- a/drivers/mmc/fsl_esdhc.c
+++ b/drivers/mmc/fsl_esdhc.c
@@ -1487,7 +1487,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);
}
--
1.7.1
More information about the U-Boot
mailing list