]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - drivers/mmc/host/sdhci.c
mmc: eSDHC: Recover from ADMA errors
[~shefty/rdma-dev.git] / drivers / mmc / host / sdhci.c
index f78c5b1329eb51ff8ce1616d58c40f4ae928adfb..b2e4b1bab69d04b9f5ccefa8a558c56e4d8e441a 100644 (file)
@@ -2282,6 +2282,8 @@ static void sdhci_data_irq(struct sdhci_host *host, u32 intmask)
                pr_err("%s: ADMA error\n", mmc_hostname(host->mmc));
                sdhci_show_adma_error(host);
                host->data->error = -EIO;
+               if (host->ops->adma_workaround)
+                       host->ops->adma_workaround(host, intmask);
        }
 
        if (host->data->error)