]> asedeno.scripts.mit.edu Git - linux.git/commit
mmc: sdhci-of-esdhc: fix the mmc error after sleep on ls1046ardb
authoryinbo.zhu <yinbo.zhu@nxp.com>
Fri, 1 Dec 2017 07:09:34 +0000 (15:09 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 11 Dec 2017 11:53:06 +0000 (12:53 +0100)
commitf2bc600008bd6f7f5d0b6b56238d14f95cd454d2
treebfe840084893e274ca8b7f4a09935e68c1bf614b
parent23a185254ace8e63dc4ca36e0315aed9440ae749
mmc: sdhci-of-esdhc: fix the mmc error after sleep on ls1046ardb

When system wakes up from sleep on ls1046ardb, the SD operation fails
with mmc error messages since ESDHC_TB_EN bit couldn't be cleaned by
eSDHC_SYSCTL[RSTA]. It's proper to clean this bit in esdhc_reset()
rather than in probe.

Signed-off-by: yinbo.zhu <yinbo.zhu@nxp.com>
Acked-by: Yangbo Lu <yangbo.lu@nxp.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-esdhc.c