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:13:53 +0530
commit0a39f46551f8185ac153f7fdb8c4bf4fcb16cc58 (patch)
tree37d771c768a368426b53e53e64b4bffe57db51d4
parent4ab50328e3d8b27ee75dddd1f2bfc6db9e2056fb (diff)
mmc: Silently set the timeout value if not in rangetracking-samslt-core-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;
}