mmc: host: sdhci: Prevent IRQ capability from being set if quirk is set

Change-Id: I18a622844a69ed00fee798786c28c75d10ba7c81
Signed-off-by: Colin Cross <ccross@android.com>
This commit is contained in:
Colin Cross
2010-09-21 17:51:05 -07:00
parent 649033883b
commit 6f18d64316

View File

@@ -1849,7 +1849,7 @@ int sdhci_add_host(struct sdhci_host *host)
else
mmc->f_min = host->max_clk / 256;
mmc->f_max = host->max_clk;
mmc->caps |= MMC_CAP_SDIO_IRQ;
mmc->caps = 0;
if (host->quirks & SDHCI_QUIRK_8_BIT_DATA)
mmc->caps |= MMC_CAP_8_BIT_DATA;