]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "mmc: tmio: move runtime PM enablement to the driver implementations"
authorUlf Hansson <ulf.hansson@linaro.org>
Fri, 13 Sep 2019 08:03:15 +0000 (10:03 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 13 Sep 2019 11:48:35 +0000 (13:48 +0200)
commit8d5a95485edd1f6763e5d48d0808740461140194
treebc2999c029207a93fb1f32ac2153316ea46f97c5
parentd04ab5924c5ba744a40f6f9df270e63231caf08d
Revert "mmc: tmio: move runtime PM enablement to the driver implementations"

This reverts commit 9b4921ddd11cbfd54aedec0b83da01c703906d44.

It turns out that the above commit introduces other problems. For example,
calling pm_runtime_set_active() must not be done prior calling
pm_runtime_enable() as that makes it fail. This leads to additional
problems, such as clock enables being wrongly balanced.

Rather than fixing the problem on top, let's start over by doing a revert.

Fixes: 9b4921ddd11c ("mmc: tmio: move runtime PM enablement to the driver implementations")
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
drivers/mmc/host/renesas_sdhi_core.c
drivers/mmc/host/tmio_mmc.c
drivers/mmc/host/tmio_mmc_core.c
drivers/mmc/host/uniphier-sd.c