]> 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)
commite628393aee423b469e256c682effe5462f7e2657
treee9ff9b5cab17d2e5a86311ddfd0f718c7f23e0cc
parent91b3a3a1e8206d22ff38960cb8026546516c06bb
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