OSDN Git Service

mmc: sdhci-of-esdhc: fix eMMC couldn't work after kexec
authoryinbo.zhu <yinbo.zhu@nxp.com>
Wed, 8 Nov 2017 09:09:50 +0000 (17:09 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 11 Dec 2017 11:44:28 +0000 (12:44 +0100)
commit97618aca1440b5addc5c3d78659d3e176be23b80
tree16c5a24215eaf97f0f8b3a24eced8b9439e57aa9
parent5f3a86014eadbcf559ab64cf26ce29510319228b
mmc: sdhci-of-esdhc: fix eMMC couldn't work after kexec

The bit eSDHC_TBCTL[TB_EN] couldn't be reset by eSDHC_SYSCTL[RSTA] which is
used to reset for all. The driver should make sure it's cleared before card
initialization, otherwise the initialization would fail.

Signed-off-by: yinbo.zhu <yinbo.zhu@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