diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2020-07-20 15:11:41 +0900 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2020-07-24 12:21:39 +0200 |
commit | adc40a5179df30421a5537bfeb4545100ab97d5e (patch) | |
tree | 0e89491c116dc64713a5bb3b054185152bef0cc1 /drivers/memstick | |
parent | 786d33c887e15061ff95942db68fe5c6ca98e5fc (diff) | |
download | linux-stable-adc40a5179df30421a5537bfeb4545100ab97d5e.tar.gz linux-stable-adc40a5179df30421a5537bfeb4545100ab97d5e.tar.bz2 linux-stable-adc40a5179df30421a5537bfeb4545100ab97d5e.zip |
mmc: sdhci-cadence: do not use hardware tuning for SD mode
As commit ef6b75671b5f ("mmc: sdhci-cadence: send tune request twice to
work around errata") stated, this IP has an errata. This commit applies
the second workaround for the SD mode.
Due to the errata, it is not possible to use the hardware tuning provided
by SDHCI_HOST_CONTROL2.
Use the software-controlled tuning like the eMMC mode.
Set sdhci_host_ops::platform_execute_tuning instead of overriding
mmc_host_ops::execute_tuning.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Link: https://lore.kernel.org/r/20200720061141.172944-1-yamada.masahiro@socionext.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/memstick')
0 files changed, 0 insertions, 0 deletions