From: Yinbo Zhu Date: Fri, 14 Dec 2018 10:02:53 +0000 (+0800) Subject: mmc: fsl_esdhc: make get_cd work well in dm_mmc_ops X-Git-Tag: v2019.04-rc1~37^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7a0425dd969c44e6afb6936bf8205c8770e9dea9;p=platform%2Fkernel%2Fu-boot.git 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 Reviewed-by: York Sun --- diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c index 99e5882..8463731 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); }