mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user