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>
This commit is contained in:
Yinbo Zhu 2018-12-14 18:02:53 +08:00 committed by York Sun
parent 7e96804975
commit 7a0425dd96

View File

@ -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);
}