commit | 619ef4b42128709de4d89d209b2c874f560deecd | [log] [tgz] |
---|---|---|
author | Anton Vorontsov <avorontsov@ru.mvista.com> | Tue Jun 17 18:17:21 2008 +0400 |
committer | Pierre Ossman <drzeus@drzeus.cx> | Tue Jul 15 14:14:41 2008 +0200 |
tree | 9c813630ed396b5efb590303c84a1f2935502ca7 | |
parent | 28f52482b41edc88cdf575aa6ed414c6e116ce10 [diff] |
mmc_spi: add support for card-detection polling This patch adds new platform data variable "caps", so platforms could pass theirs capabilities into MMC core (for example, platforms without interrupt on the CD line will most probably want to pass MMC_CAP_NEEDS_POLL). New platform get_cd() callback provided to optimize polling. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>