]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: atmel-mci: add runtime pm support
authorWenyou Yang <wenyou.yang@atmel.com>
Thu, 30 Oct 2014 04:00:41 +0000 (12:00 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 10 Nov 2014 11:40:55 +0000 (12:40 +0100)
commiteef92c57e9b72021b25b0b93cb558b53ab9b0fb7
treed145074e129c3823685aa5fc63e622c8865056f8
parent6ccca8175601ba89e8b966275599e3433caa9537
mmc: atmel-mci: add runtime pm support

Add runtime pm support to atmel mci controller.
Use runtime pm APIs to enable/disable atmel mci's clock.
Use runtime autosuspend APIs to enable auto suspend delay.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
[Ulf: Fixed compile error]
drivers/mmc/host/atmel-mci.c