diff options
author | Yinbo Zhu <yinbo.zhu@nxp.com> | 2018-12-14 18:02:53 +0800 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2019-01-17 13:17:10 -0800 |
commit | 7a0425dd969c44e6afb6936bf8205c8770e9dea9 (patch) | |
tree | 88abaee5e5e561c111430f72816770a17f59f867 /drivers/mmc | |
parent | 7e96804975a7a640901d30e28f34a93d014e2e23 (diff) |
mmc: fsl_esdhc: make get_cd work well in dm_mmc_ops
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>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | 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 99e5882866..84637313e0 100644 --- 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); } |