mmc: host: sdhci: Prevent IRQ capability from being set if quirk is set
Colin Cross [Wed, 22 Sep 2010 00:51:05 +0000 (17:51 -0700)]
Change-Id: I18a622844a69ed00fee798786c28c75d10ba7c81
Signed-off-by: Colin Cross <ccross@android.com>

drivers/mmc/host/sdhci.c

index c0ed9f6..4715991 100644 (file)
@@ -2514,7 +2514,7 @@ int sdhci_add_host(struct sdhci_host *host)
 
        mmc->max_discard_to = (1 << 27) / host->timeout_clk;
 
-       mmc->caps |= MMC_CAP_SDIO_IRQ | MMC_CAP_ERASE | MMC_CAP_CMD23;
+       mmc->caps |= MMC_CAP_ERASE | MMC_CAP_CMD23;
 
        if (host->quirks & SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12)
                host->flags |= SDHCI_AUTO_CMD12;