From: Anton Vorontsov Date: Tue, 17 Jun 2008 14:17:15 +0000 (+0400) Subject: mmc: add support for card-detection polling X-Git-Tag: v2.6.27-rc1~1047^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28f52482b41edc88cdf575aa6ed414c6e116ce10;p=pandora-kernel.git 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 Signed-off-by: Pierre Ossman --- Reading git-diff-tree failed