aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/host')
-rw-r--r--drivers/mmc/host/sdhci.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 04a5e257a2ab..9a79fc4b60ca 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -2026,12 +2026,11 @@ out:
2026 host->tuning_count * HZ); 2026 host->tuning_count * HZ);
2027 /* Tuning mode 1 limits the maximum data length to 4MB */ 2027 /* Tuning mode 1 limits the maximum data length to 4MB */
2028 mmc->max_blk_count = (4 * 1024 * 1024) / mmc->max_blk_size; 2028 mmc->max_blk_count = (4 * 1024 * 1024) / mmc->max_blk_size;
2029 } else { 2029 } else if (host->flags & SDHCI_USING_RETUNING_TIMER) {
2030 host->flags &= ~SDHCI_NEEDS_RETUNING; 2030 host->flags &= ~SDHCI_NEEDS_RETUNING;
2031 /* Reload the new initial value for timer */ 2031 /* Reload the new initial value for timer */
2032 if (host->tuning_mode == SDHCI_TUNING_MODE_1) 2032 mod_timer(&host->tuning_timer, jiffies +
2033 mod_timer(&host->tuning_timer, jiffies + 2033 host->tuning_count * HZ);
2034 host->tuning_count * HZ);
2035 } 2034 }
2036 2035
2037 /* 2036 /*