mmc: dw_mmc-rockchip: Just set default sample value for legacy mode
authorShawn Lin <shawn.lin@rock-chips.com>
Fri, 16 Apr 2021 02:17:34 +0000 (10:17 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 16 Apr 2021 13:10:08 +0000 (15:10 +0200)
commitdf4e137299d5688f70c409f2c298cbdc729253ce
treeaf624fd797054903fd98468d113e5197bee01fed
parente614740a063ff8a87930861674e64347d4b091ba
mmc: dw_mmc-rockchip: Just set default sample value for legacy mode

.set_ios() is called from .resume() as well. For SDIO device which sets
keep-power-in-suspend, nothing should be changed after resuming, as well
as sample tuning value, since this value is tuned already. So we should
not overwrite it with the default value.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Link: https://lore.kernel.org/r/1618539454-182170-1-git-send-email-shawn.lin@rock-chips.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc-rockchip.c