Files
android_kernel_xiaomi_sm8450/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
..
2008-04-18 20:05:26 +02:00
2007-07-09 21:28:01 +02:00
2007-05-08 22:41:55 +02:00
2007-11-02 08:47:06 +01:00
2007-09-23 21:51:30 +02:00
2007-11-02 08:47:06 +01:00
2007-10-14 08:53:33 -07:00
2007-09-23 19:45:31 +02:00
2007-09-23 21:28:01 +02:00