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:
parent
7e96804975
commit
7a0425dd96
@ -1545,7 +1545,6 @@ static int fsl_esdhc_get_cd(struct udevice *dev)
|
|||||||
{
|
{
|
||||||
struct fsl_esdhc_priv *priv = dev_get_priv(dev);
|
struct fsl_esdhc_priv *priv = dev_get_priv(dev);
|
||||||
|
|
||||||
return true;
|
|
||||||
return esdhc_getcd_common(priv);
|
return esdhc_getcd_common(priv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user