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-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=7a0425dd969c44e6afb6936bf8205c8770e9dea9;p=u-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 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); }