diff options
author | Chris Ball <cjb@laptop.org> | 2012-06-01 16:39:45 +0200 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-06-06 11:52:36 +0200 |
commit | 09eeff52bf20d485bcafc441f01c142c59c3da16 (patch) | |
tree | 5573107aed53844274bb4ad8b65e9258d86da620 /drivers/mmc | |
parent | Linux 3.5-rc1 (diff) | |
download | linux-09eeff52bf20d485bcafc441f01c142c59c3da16.tar.xz linux-09eeff52bf20d485bcafc441f01c142c59c3da16.zip |
mmc: sdhci: Use DBG() instead of pr_warning() on large timeout
3bdc9ba892d6 ("mmc: use really long write timeout to deal with crappy
cards") in 3.4 increased the write timeout that the core sends to host
drivers to 3 seconds. This makes sdhci's "requested timeout too large"
warning trigger on every write; so, change this pr_warning() to a DBG().
Reported-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/sdhci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index e626732aff77..f4b8b4db3a9a 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -680,8 +680,8 @@ static u8 sdhci_calc_timeout(struct sdhci_host *host, struct mmc_command *cmd) } if (count >= 0xF) { - pr_warning("%s: Too large timeout 0x%x requested for CMD%d!\n", - mmc_hostname(host->mmc), count, cmd->opcode); + DBG("%s: Too large timeout 0x%x requested for CMD%d!\n", + mmc_hostname(host->mmc), count, cmd->opcode); count = 0xE; } |