mmc: renesas_sdhi: better reset from HS400 mode
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sun, 20 Nov 2022 11:34:55 +0000 (12:34 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 7 Dec 2022 12:22:37 +0000 (13:22 +0100)
commit0da69dd2155019ed4c444ede0e79ce7a4a6af627
tree2d063da8d2fb28c411fabf59f6f0bae29da42d54
parent3d4f9898c1c74323dd61d6a8a0efca9401232ad4
mmc: renesas_sdhi: better reset from HS400 mode

Up to now, HS400 adjustment mode was only disabled on soft reset when a
calibration table was in use. It is safer, though, to disable it as soon
as the instance has an adjustment related quirk set, i.e. bad taps or a
calibration table.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/20221120113457.42010-3-wsa+renesas@sang-engineering.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/renesas_sdhi_core.c