[PATCH V2 3/3] mmc: remove MMC_CAP_NEEDS_POLL setting in sdhci_add_host

2012-10-30 Thread yongd
In the current code logic, sdhci_add_host() will enable the polling method (set MMC_CAP_NEEDS_POLL) for a removable card (MMC_CAP_ NONREMOVABLE is not set) whose host's internal card detection method is disabled for some reason (SDHCI_QUIRK_BROKEN_CARD_DETECTION is set). However, this is improper

[PATCH V2 3/3] mmc: remove MMC_CAP_NEEDS_POLL setting in sdhci_add_host

2012-10-30 Thread yongd
In the current code logic, sdhci_add_host() will enable the polling method (set MMC_CAP_NEEDS_POLL) for a removable card (MMC_CAP_ NONREMOVABLE is not set) whose host's internal card detection method is disabled for some reason (SDHCI_QUIRK_BROKEN_CARD_DETECTION is set). However, this is improper