]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: tmio: enforce retune after runtime suspend
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 29 Jan 2020 20:37:07 +0000 (21:37 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 24 Mar 2020 13:35:38 +0000 (14:35 +0100)
commit7eb77c8602651f0194cbc68885e8c8e8dc6133cf
tree4f5f798a825b1788136fc59e149012bb1e80c5ac
parentb61351366b8c2bd526b425e97894b8758e756eb7
mmc: tmio: enforce retune after runtime suspend

Currently, select_tuning() is called after RPM resume. But
select_tuning() needs some additional function calls to work correctly.
Instead of reimplementing the whole postprocessing, just enforce
retuning.

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