linux/drivers/mmc/core
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
..
bus.c
bus.h
core.c mmc: add support for card-detection polling 2008-07-15 14:14:41 +02:00
core.h mmc: proper prototypes for mmc_attach_*() 2008-04-18 20:05:32 +02:00
host.c mmc: set controller name early 2008-04-18 20:05:26 +02:00
host.h
Kconfig
Makefile
mmc_ops.c
mmc_ops.h
mmc.c
sd_ops.c
sd_ops.h
sd.c
sdio_bus.c
sdio_bus.h
sdio_cis.c
sdio_cis.h
sdio_io.c
sdio_irq.c mmc: use shorter, equivalent set_current_state() 2008-04-18 20:05:27 +02:00
sdio_ops.c mmc: sdio_ops.c should #include "sdio_ops.h" 2008-04-18 20:05:33 +02:00
sdio_ops.h
sdio.c