]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
mmc: sdhci: Remove command time out print statement
authorNaveen Kumar Arepalli <naveenk@nvidia.com>
Thu, 23 May 2013 11:46:52 +0000 (17:16 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:14:54 +0000 (13:14 -0700)
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

Change-Id: I428f4fc60b99142e782514f2f06f66759082de5b
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/232125
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
drivers/mmc/host/sdhci.c

index 19871efe63c9f68d9af8b734b6691c8d8bed2b15..9e782f0f8be7c1f3f37de23059c227ce6ffd266a 100644 (file)
@@ -2386,8 +2386,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;