linux_dsm_epyc7002/include/linux/mmc
Ohad Ben-Cohen ed919b0125 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>
2010-11-19 17:07:01 -05:00
..
card.h mmc: MMC 4.4 DDR support 2010-10-23 21:11:16 +08:00
core.h mmc: Fixes for Dual Data Rate (DDR) support 2010-10-23 21:11:16 +08:00
host.h mmc: sdio: fix runtime PM anomalies by introducing MMC_CAP_POWER_OFF_CARD 2010-11-19 17:07:01 -05:00
mmc.h mmc: MMC 4.4 DDR support 2010-10-23 21:11:16 +08:00
pm.h sdio: introduce API for special power management features 2010-03-06 11:26:36 -08:00
sd.h mmc: add erase, secure erase, trim and secure trim operations 2010-08-12 08:43:30 -07:00
sdhci-pltfm.h mmc: sdhci_pltfm: pass more data on custom init call 2010-10-23 21:11:22 +08:00
sdhci-spear.h sdhci-spear: ST SPEAr based SDHCI controller glue 2010-05-27 09:12:40 -07:00
sdhci.h mmc: sdhci: split up sdhci.h for sdhci-pltfm users 2010-10-23 21:11:17 +08:00
sdio_func.h sdio: add new function for RAW (Read after Write) operation 2010-05-27 09:12:40 -07:00
sdio_ids.h Bluetooth: Support SDIO devices that are AMP controllers 2010-10-12 12:44:51 -03:00
sdio.h mmc: avoid getting CID on SDIO-only cards 2010-09-09 18:57:22 -07:00
sh_mmcif.h mmc: Allow the platform to specify the sh_mmcif get_cd handler 2010-10-29 00:29:13 +02:00