mmc: tmio: Keep host active while serving requests
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 24 Oct 2013 14:42:33 +0000 (16:42 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 5 Dec 2014 01:39:23 +0000 (10:39 +0900)
commitdb1fb84f203df5faf6c5099a4113350ece4a5e3a
tree510ca1032f83096257f1fa0730dc394a577e18f0
parentb6f003f799c5e9dd08e3c3d5d9e8690aa7824220
mmc: tmio: Keep host active while serving requests

Use runtime PM to keep the host active during I/O operations and other
requests which requires the tmio hardware to be powered.

Additionally make use of the runtime PM autosuspend feature with a
default timeout of 50 ms.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
(cherry picked from commit 0369483efc1719f47249fa94329aa94155edf69d)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/mmc/host/tmio_mmc_pio.c