Message ID | 1544161880-5908-1-git-send-email-goto.yuichiro@espark.co.jp |
---|---|
State | Not Applicable |
Delegated to: | Prabhakar Kushwaha |
Headers | show |
Series | [U-Boot] dm: mmc: fsl_esdhc: Fix card detection | expand |
diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c index 3cdfa7f..487cdcd 100644 --- a/drivers/mmc/fsl_esdhc.c +++ b/drivers/mmc/fsl_esdhc.c @@ -1539,7 +1539,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); }
Card detection is not working properly because fsl_esdhc_get_cd() always returns true since commit 653282b5672c ("dm: mmc: fsl_esdhc: Update to support MMC operations"). This patch fixes it. Signed-off-by: Yuichiro Goto <goto.yuichiro@espark.co.jp> --- drivers/mmc/fsl_esdhc.c | 1 - 1 file changed, 1 deletion(-)