diff options
| author | Linux Build Service Account <lnxbuild@quicinc.com> | 2017-09-10 10:20:26 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-09-10 10:20:25 -0700 |
| commit | 1cbd1cdf8491634cca7f06812dbe8d1906033656 (patch) | |
| tree | ba9c72d9a7dbcd6dbe31bbb24881003fbef67a8f | |
| parent | 05782da9c4b912eaf2208447aec11aaf338718f8 (diff) | |
| parent | 3cded02c6138f83288965c9aba033d069835f491 (diff) | |
Merge "mmc: sdhci: Add logs when ignoring timeout due to quirk"
| -rw-r--r-- | drivers/mmc/host/sdhci.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index f9d80b3bbcf9..5906bba0aeff 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -3054,8 +3054,15 @@ static void sdhci_data_irq(struct sdhci_host *host, u32 intmask) return; } if (host->quirks2 & - SDHCI_QUIRK2_IGNORE_DATATOUT_FOR_R1BCMD) + SDHCI_QUIRK2_IGNORE_DATATOUT_FOR_R1BCMD) { + pr_err_ratelimited("%s: %s: ignoring interrupt: 0x%08x due to DATATOUT_FOR_R1B quirk\n", + mmc_hostname(host->mmc), + __func__, intmask); + MMC_TRACE(host->mmc, + "%s: Quirk ignoring intr: 0x%08x\n", + __func__, intmask); return; + } if (intmask & SDHCI_INT_DATA_TIMEOUT) { host->cmd->error = -ETIMEDOUT; tasklet_schedule(&host->finish_tasklet); |
