linux-stable/drivers/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 mmc_test: add test case control 2008-07-15 14:14:40 +02:00
core mmc: add support for card-detection polling 2008-07-15 14:14:41 +02:00
host sdhci-pci: unaligned data with ricoh controllers 2008-07-15 14:14:40 +02:00
Kconfig [S390] Kconfig: menus with depends on HAS_IOMEM. 2007-05-10 15:46:07 +02:00
Makefile mmc: Move core functions to subdir 2007-05-01 13:04:18 +02:00