|
@@ -212,6 +212,11 @@ static void sdhci_reset(struct sdhci_host *host, u8 mask)
|
|
|
|
|
|
|
|
if (host->quirks & SDHCI_QUIRK_RESTORE_IRQS_AFTER_RESET)
|
|
if (host->quirks & SDHCI_QUIRK_RESTORE_IRQS_AFTER_RESET)
|
|
|
sdhci_clear_set_irqs(host, SDHCI_INT_ALL_MASK, ier);
|
|
sdhci_clear_set_irqs(host, SDHCI_INT_ALL_MASK, ier);
|
|
|
|
|
+
|
|
|
|
|
+ if (host->flags & (SDHCI_USE_SDMA | SDHCI_USE_ADMA)) {
|
|
|
|
|
+ if ((host->ops->enable_dma) && (mask & SDHCI_RESET_ALL))
|
|
|
|
|
+ host->ops->enable_dma(host);
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
static void sdhci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios);
|
|
static void sdhci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios);
|