Skip to contentSkip to conversation

MMC: sdhci: remove too large timeout warning

PATCH In review Torne (Richard Coles) 1 participant 2 messages Mar 6, 2012 – Mar 22, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MMC: sdhci: remove too large timeout warning

From: "Torne (Richard Coles)" <[email protected]>

Some MMC cards specify timeouts that are larger than the highest possible timeout in the host controller. sdhci is the only host controller driver which complains about this; remove the warning to match the behaviour of the other drivers.

---
 drivers/mmc/host/sdhci.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/mmc/host/sdhci.c +0 -2
index 8d66706..85d4d05 100644
@@ -680,8 +680,6 @@ 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",
-		       mmc_hostname(host->mmc), cmd->opcode);
 		count = 0xE;
 	}
 
Signature · 1 line
1.7.7.3
#1 lore raw

Ping.. anyone interested in this patch? :) It's been a couple weeks with no response.

It still applies cleanly to the current tree.

Quoted 28 lines · Torne (Richard Coles)

From: "Torne (Richard Coles)" <[email protected]>

Some MMC cards specify timeouts that are larger than the highest possible timeout in the host controller. sdhci is the only host controller driver which complains about this; remove the warning to match the behaviour of the other drivers.

---
 drivers/mmc/host/sdhci.c |    2 --

 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/mmc/host/sdhci.c +0 -3
index 8d66706..85d4d05 100644
@@ -680,8 +680,6 @@ 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",
-                      mmc_hostname(host->mmc), cmd->opcode);
                count = 0xE;
        }
 
--

1.7.7.3

Signature · 2 lines
Torne (Richard Coles)
[email protected]