diff options
Diffstat (limited to 'drivers/mmc/host/sdhci.c')
-rw-r--r-- | drivers/mmc/host/sdhci.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index e06299734f5d..988ae06d1a09 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c | |||
@@ -2356,9 +2356,8 @@ int sdhci_suspend_host(struct sdhci_host *host) | |||
2356 | /* Disable tuning since we are suspending */ | 2356 | /* Disable tuning since we are suspending */ |
2357 | if (host->version >= SDHCI_SPEC_300 && host->tuning_count && | 2357 | if (host->version >= SDHCI_SPEC_300 && host->tuning_count && |
2358 | host->tuning_mode == SDHCI_TUNING_MODE_1) { | 2358 | host->tuning_mode == SDHCI_TUNING_MODE_1) { |
2359 | del_timer_sync(&host->tuning_timer); | ||
2359 | host->flags &= ~SDHCI_NEEDS_RETUNING; | 2360 | host->flags &= ~SDHCI_NEEDS_RETUNING; |
2360 | mod_timer(&host->tuning_timer, jiffies + | ||
2361 | host->tuning_count * HZ); | ||
2362 | } | 2361 | } |
2363 | 2362 | ||
2364 | ret = mmc_suspend_host(host->mmc); | 2363 | ret = mmc_suspend_host(host->mmc); |