android_kernel_xiaomi_sdm845/include/linux/mmc
Arnd Hannemann 777271d0f3 mmc: Allow the platform to specify the sh_mmcif get_cd handler
In some platforms (e.g. AP4EVB) the card detect pin of a slot is not
directly connected to the sh_mmcif controller, so that polling needs
to be used. To overcome the overhead induced by querying the controller
on each poll cycle, card detection can be handled in the platform code
more efficiently.
This patch exposes a get_cd hook for that purpose.

Signed-off-by: Arnd Hannemann <arnd@arndnet.de>
Tested-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2010-10-29 00:29:13 +02: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: propagate power save/restore ops return value 2010-10-23 21:11:17 +08: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