mmc: add runtime PM handlers
commit516d5ccdc61178b9701af1adfa86a306d51fbad2
authorOhad Ben-Cohen <ohad@wizery.com>
Sat, 2 Oct 2010 11:54:08 +0000 (2 13:54 +0200)
committerChris Ball <cjb@laptop.org>
Sat, 23 Oct 2010 13:11:18 +0000 (23 21:11 +0800)
tree7e38502d54516d8e747e1f6478083af1ee686a7a
parentd3fe37b1a1d98f060279bfa32fcf5a134851a91a
mmc: add runtime PM handlers

Add MMC runtime PM handlers, which call mmc_power_save_host
and mmc_power_restore_host in response to runtime_suspend and
runtime_resume events.

Runtime PM is still disabled by default, so this patch alone
has no immediate effect.

Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Tested-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/bus.c