summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorOhad Ben-Cohen2010-11-19 08:29:09 +0100
committerChris Ball2010-11-19 23:07:01 +0100
commited919b0125b26dcc052e44836f66e7e1f5c49c7e (patch)
tree10abd2b197488ee2c75e693e9422668481e5e4ce /arch
parentmmc: sdio: fix nasty oops in mmc_sdio_detect (diff)
downloadkernel-qcow2-linux-ed919b0125b26dcc052e44836f66e7e1f5c49c7e.tar.gz
kernel-qcow2-linux-ed919b0125b26dcc052e44836f66e7e1f5c49c7e.tar.xz
kernel-qcow2-linux-ed919b0125b26dcc052e44836f66e7e1f5c49c7e.zip
mmc: sdio: fix runtime PM anomalies by introducing MMC_CAP_POWER_OFF_CARD
Some board/card/host configurations are not capable of powering off the card after boot. To support such configurations, and to allow smoother transition to runtime PM behavior, MMC_CAP_POWER_OFF_CARD is added, so hosts need to explicitly indicate whether it's OK to power off their cards after boot. SDIO core will enable runtime PM for a card only if that cap is set. As a result, the card will be powered down after boot, and will only be powered up again when a driver is loaded (and then it's up to the driver to decide whether power will be kept or not). This will prevent sdio_bus_probe() failures with setups that do not support powering off the card. Reported-and-tested-by: Daniel Drake <dsd@laptop.org> Reported-and-tested-by: Arnd Hannemann <arnd@arndnet.de> Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions