]> 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)
commitfcbb8873302252199b17b2d53eb58caa57ff0775
treed145074e129c3823685aa5fc63e622c8865056f8
parentf3ad353ffe322f7bea91af90292a69e9071d3bf3
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