mmc: msm_sdcc: Remove static config option VERBOSE_COMMAND_TIMEOUTS
Remove static config option VERBOSE_COMMAND_TIMEOUTS that controls
pr_err of command timeout error message in the driver and add
pr_debug instead.
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c
index fecc2e0..83cb770 100644
--- a/drivers/mmc/host/msm_sdcc.c
+++ b/drivers/mmc/host/msm_sdcc.c
@@ -106,8 +106,6 @@
0xFDFFFDFF, 0xFFBFFFDF, 0xFFF7FFBB, 0xDE7B7FF7
};
-#define VERBOSE_COMMAND_TIMEOUTS 0
-
#if IRQ_DEBUG == 1
static char *irq_status_bits[] = { "cmdcrcfail", "datcrcfail", "cmdtimeout",
"dattimeout", "txunderrun", "rxoverrun",
@@ -1250,9 +1248,7 @@
cmd->resp[3] = readl_relaxed(host->base + MMCIRESPONSE3);
if (status & (MCI_CMDTIMEOUT | MCI_AUTOCMD19TIMEOUT)) {
-#if VERBOSE_COMMAND_TIMEOUTS
- pr_err("%s: Command timeout\n", mmc_hostname(host->mmc));
-#endif
+ pr_debug("%s: Command timeout\n", mmc_hostname(host->mmc));
cmd->error = -ETIMEDOUT;
} else if ((status & MCI_CMDCRCFAIL && cmd->flags & MMC_RSP_CRC) &&
!host->cmd19_tuning_in_progress) {