diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2022-06-25 15:17:22 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2022-07-12 12:31:32 +0200 |
commit | 2e586f8a5b0ed4a525014a692923ac96f6647816 (patch) | |
tree | 529e312b952149bb37f65b0350d3b81c2c414886 /drivers/memstick | |
parent | memstick/ms_block: Use the bitmap API when applicable (diff) | |
download | linux-2e586f8a5b0ed4a525014a692923ac96f6647816.tar.xz linux-2e586f8a5b0ed4a525014a692923ac96f6647816.zip |
mmc: tmio: avoid glitches when resetting
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>
Diffstat (limited to 'drivers/memstick')
0 files changed, 0 insertions, 0 deletions