]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: tmio: Fixup runtime PM management during remove
authorUlf Hansson <ulf.hansson@linaro.org>
Fri, 13 Sep 2019 09:20:22 +0000 (11:20 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 13 Sep 2019 11:49:09 +0000 (13:49 +0200)
commitc94f0384f3d9d87571db4313b6fdd013c9aab2a1
treee9ff9b5cab17d2e5a86311ddfd0f718c7f23e0cc
parent3269c5bf7234fe17dc2a8b5aa892eee37fb3c268
mmc: tmio: Fixup runtime PM management during remove

Accessing the device when it may be runtime suspended is a bug, which is
the case in tmio_mmc_host_remove(). Let's fix the behaviour.

Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
drivers/mmc/host/tmio_mmc_core.c