aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/host/sdhci.c')
-rw-r--r--drivers/mmc/host/sdhci.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 75d0ecbce10c..cd6dab34ba54 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -336,6 +336,9 @@ static void sdhci_transfer_pio(struct sdhci_host *host)
336 mask = ~0; 336 mask = ~0;
337 337
338 while (sdhci_readl(host, SDHCI_PRESENT_STATE) & mask) { 338 while (sdhci_readl(host, SDHCI_PRESENT_STATE) & mask) {
339 if (host->quirks & SDHCI_QUIRK_PIO_NEEDS_DELAY)
340 udelay(100);
341
339 if (host->data->flags & MMC_DATA_READ) 342 if (host->data->flags & MMC_DATA_READ)
340 sdhci_read_block_pio(host); 343 sdhci_read_block_pio(host);
341 else 344 else