android_kernel_xiaomi_sdm845/include/linux/mmc
Anton Vorontsov 28f52482b4 mmc: add support for card-detection polling
Some hosts (and boards that use mmc_spi) do not use interrupts on the CD
line, so they can't trigger mmc_detect_change. We want to poll the card
and see if there was a change. 1 second poll interval seems resonable.

This patch also implements .get_cd() host operation, that could be used
by the hosts that are able to report card-detect status without need to
talk MMC.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
2008-07-15 14:14:41 +02:00
..
card.h sdio: store vendor strings 2007-09-23 21:28:01 +02:00
core.h MMC headers learn about SPI 2007-09-23 21:37:51 +02:00
host.h mmc: add support for card-detection polling 2008-07-15 14:14:41 +02:00
mmc.h include/linux/mmc/mmc.h: remove CVS tags 2008-07-15 14:14:41 +02:00
sd.h mmc: Separate out protocol ops 2007-05-01 13:04:18 +02:00
sdio_func.h sdio: store vendor strings 2007-09-23 21:28:01 +02:00
sdio_ids.h net: libertas sdio driver 2007-10-17 22:51:13 +02:00
sdio.h sdio: add SDIO_FBR_BASE(f) macro 2007-09-23 21:16:27 +02:00