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)
commitae552ab02cd556f53047959f15a5f870ab7c5ebe
treed145074e129c3823685aa5fc63e622c8865056f8
parent3ee14bf79d2f662f58009eb475083880ee8bfd27
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