提交 7a0425dd 编写于 作者: Y Yinbo Zhu 提交者: York Sun

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: NYinbo Zhu <yinbo.zhu@nxp.com>
Reviewed-by: NYork Sun <york.sun@nxp.com>
上级 7e968049
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册