Wolfram Sang 67b5870a35 mmc: tmio: avoid glitches when resetting
[ Upstream commit 2e586f8a5b0ed4a525014a692923ac96f6647816 ]

If we reset because of an error, we need to preserve values for the
clock frequency. Otherwise, glitches may be seen on the bus.

To achieve that, we introduce a 'preserve' parameter to the reset
function and the IP core specific reset callbacks to handle everything
accordingly.

Reported-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/20220625131722.1397-1-wsa@kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-25 11:40:36 +02:00
..
2021-02-08 13:00:31 +01:00
2021-02-15 10:43:23 +01:00
2021-10-19 12:57:11 +02:00
2021-12-14 10:57:06 +01:00
2021-08-24 10:15:30 +02:00
2022-08-17 14:23:50 +02:00
2021-02-08 13:00:31 +01:00
2021-02-08 13:00:31 +01:00