mmc: sdhci: Remove command time out print statement
Naveen Kumar Arepalli [Thu, 23 May 2013 11:46:52 +0000 (16:46 +0530)]
1. Remove command time out print statement, huge number of
these prints will cause device hang.
2. There is a sys fs interface to identify the number of
time out errors occured for an sdmmc device

Bug 1274359

Reviewed-on: http://git-master/r/232125
(cherry picked from commit 5d3ecf92c7ff03dca180776e245a94d2c3ee5e6c)
Change-Id: I428f4fc60b99142e782514f2f06f66759082de5b
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/233696
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: R Raj Kumar <rrajk@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

drivers/mmc/host/sdhci.c

index 80aa59b..5ff3755 100644 (file)
@@ -2255,8 +2255,6 @@ static void sdhci_cmd_irq(struct sdhci_host *host, u32 intmask)
 
        if (intmask & SDHCI_INT_TIMEOUT) {
                host->cmd->error = -ETIMEDOUT;
-               pr_err("%s: Command timeout error, intmask: %x\n",
-                               mmc_hostname(host->mmc), intmask);
        } else if (intmask & (SDHCI_INT_CRC | SDHCI_INT_END_BIT |
                        SDHCI_INT_INDEX)) {
                host->cmd->error = -EILSEQ;