]> 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)
commite6e9d7af324420bf43b145a2ca8d5a8da6e8592a
treebc2999c029207a93fb1f32ac2153316ea46f97c5
parentce873c2e9e7e6b385b612edfd1d40fa06c09b655
Revert "mmc: tmio: move runtime PM enablement to the driver implementations"

This reverts commit 93c717d7422fec1ccff3ec9ecffa030b9303d19b.

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: 93c717d7422f ("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