]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-of-esdhc: fix esdhc_reset() for different controller versions
authorYangbo Lu <yangbo.lu@nxp.com>
Wed, 8 Jan 2020 04:07:12 +0000 (12:07 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 16 Jan 2020 10:50:18 +0000 (11:50 +0100)
commitc64a60600ca029baf1620765abd1dadf93d029d8
treeaf167a7417edc7354a4d42669079c1048e90dd87
parent640b52f5026b41f91dec2faabe22d2a3efa3cb97
mmc: sdhci-of-esdhc: fix esdhc_reset() for different controller versions

This patch is to fix operating in esdhc_reset() for different
controller versions, and to add bus-width restoring after data
reset for eSDHC (verdor version <= 2.2).

Also add annotation for understanding.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20200108040713.38888-1-yangbo.lu@nxp.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-esdhc.c