public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MMC: sdhci: remove too large timeout warning
@ 2012-03-06 10:27 Torne (Richard Coles)
  2012-03-22 13:42 ` Torne (Richard Coles)
  0 siblings, 1 reply; 2+ messages in thread
From: Torne (Richard Coles) @ 2012-03-06 10:27 UTC (permalink / raw)
  To: cjb; +Cc: linux-mmc, linux-kernel, Torne (Richard Coles)

From: "Torne (Richard Coles)" <torne@google.com>

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.

Signed-off-by: Torne (Richard Coles) <torne@google.com>
---
 drivers/mmc/host/sdhci.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 8d66706..85d4d05 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] MMC: sdhci: remove too large timeout warning
  2012-03-06 10:27 [PATCH] MMC: sdhci: remove too large timeout warning Torne (Richard Coles)
@ 2012-03-22 13:42 ` Torne (Richard Coles)
  0 siblings, 0 replies; 2+ messages in thread
From: Torne (Richard Coles) @ 2012-03-22 13:42 UTC (permalink / raw)
  To: cjb; +Cc: linux-mmc, linux-kernel, Torne (Richard Coles)

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

It still applies cleanly to the current tree.

On 6 March 2012 10:27, Torne (Richard Coles) <torne@google.com> wrote:
> From: "Torne (Richard Coles)" <torne@google.com>
>
> 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.
>
> Signed-off-by: Torne (Richard Coles) <torne@google.com>
> ---
>  drivers/mmc/host/sdhci.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
> index 8d66706..85d4d05 100644
> --- a/drivers/mmc/host/sdhci.c
> +++ b/drivers/mmc/host/sdhci.c
> @@ -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
>



-- 
Torne (Richard Coles)
torne@google.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-22 13:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-06 10:27 [PATCH] MMC: sdhci: remove too large timeout warning Torne (Richard Coles)
2012-03-22 13:42 ` Torne (Richard Coles)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox