From 7a0425dd969c44e6afb6936bf8205c8770e9dea9 Mon Sep 17 00:00:00 2001 From: Yinbo Zhu Date: Fri, 14 Dec 2018 18:02:53 +0800 Subject: [PATCH] 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 --- drivers/mmc/fsl_esdhc.c | 1 - 1 file changed, 1 deletion(-) 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); } -- 2.25.1