summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTushar Behera <tushar.behera@linaro.org>2012-04-13 11:25:53 +0530
committerTushar Behera <tushar.behera@linaro.org>2012-04-18 13:10:14 +0530
commit739c7127fbe7831d489bd903d5bc9b1a211e532b (patch)
treea962720e652dfbd82fed3880fa472eb07b85d847
parentab568496e9981125948c5f1bff937b437502c790 (diff)
mmc: Silently set the timeout value if not in rangetracking-samslt-asv_cpufreq-3.4-rc3-2012.04-0
Commit 3bdc9ba892d6 (mmc: use really long write timeout to deal with crappy cards) introduces a timeout value of 3 seconds for some cards. This results in a lot of warning message like this. mmc0: Too large timeout requested for CMD25! As discussed in the mailing list, modifying pr_warning to pr_debug. Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
-rw-r--r--drivers/mmc/host/sdhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 9aa77f3f04a8..ea3afa608126 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -680,7 +680,7 @@ static u8 sdhci_calc_timeout(struct sdhci_host *host, struct mmc_command *cmd)
}
if (count >= 0xF) {
- pr_warning("%s: Too large timeout requested for CMD%d!\n",
+ pr_debug("%s: Too large timeout requested for CMD%d!\n",
mmc_hostname(host->mmc), cmd->opcode);
count = 0xE;
}