]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: rtsx_usb_sdmmc: Enable runtime PM autosuspend
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 13 Oct 2016 11:37:39 +0000 (13:37 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 29 Nov 2016 08:00:28 +0000 (09:00 +0100)
commit6851f0eae190b027c09c9bfd2e80e699319c9c93
tree3fe0e9ddde78cc0f893840814c064a03ebd62ac0
parentf90466b1b335bfb41e8c75bdfdf7d62f867356e8
mmc: rtsx_usb_sdmmc: Enable runtime PM autosuspend

Enable runtime PM autosuspend for the rtsx_usb_sdmmc driver to avoid the
device being runtime suspended and runtime resumed between each request.
Let's use a default timeout of 50ms, to be consistent with other mmc hosts.

Cc: Ritesh Raj Sarraf <rrs@researchut.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/rtsx_usb_sdmmc.c