Skip to content

Commit

Permalink
mmc: sdhci: Fix missing enhanced strobe setting during runtime resume
Browse files Browse the repository at this point in the history
Restore enhanced strobe setting during runtime resume.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
  • Loading branch information
Adrian Hunter authored and Ulf Hansson committed Nov 7, 2016
1 parent fe5fb2e commit 086b0dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/mmc/host/sdhci.c
Original file line number Diff line number Diff line change
Expand Up @@ -2924,6 +2924,10 @@ int sdhci_runtime_resume_host(struct sdhci_host *host)
spin_unlock_irqrestore(&host->lock, flags);
}

if ((mmc->caps2 & MMC_CAP2_HS400_ES) &&
mmc->ops->hs400_enhanced_strobe)
mmc->ops->hs400_enhanced_strobe(mmc, &mmc->ios);

spin_lock_irqsave(&host->lock, flags);

host->runtime_suspended = false;
Expand Down

0 comments on commit 086b0dd

Please sign in to comment.