|
@@ -3164,7 +3164,8 @@ int sdhci_add_host(struct sdhci_host *host)
|
|
|
/* Auto-CMD23 stuff only works in ADMA or PIO. */
|
|
|
if ((host->version >= SDHCI_SPEC_300) &&
|
|
|
((host->flags & SDHCI_USE_ADMA) ||
|
|
|
- !(host->flags & SDHCI_USE_SDMA))) {
|
|
|
+ !(host->flags & SDHCI_USE_SDMA)) &&
|
|
|
+ !(host->quirks2 & SDHCI_QUIRK2_ACMD23_BROKEN)) {
|
|
|
host->flags |= SDHCI_AUTO_CMD23;
|
|
|
DBG("%s: Auto-CMD23 available\n", mmc_hostname(mmc));
|
|
|
} else {
|