Re: [PATCH] sdhci: Increase timeout for internal clock stabilization.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 18 Sep 2009 18:15:56 -0400
Chris Ball <cjb@xxxxxxxxxx> wrote:

> On an OLPC XO-1.5 development board with Via VX855 chipset, the sdhci
> controller can take up to 12ms to stabilize its clock, but the current
> timeout at which we give up on the controller is 10ms.
> 
> The patch increases the timeout delay rather than using a device-specific
> quirk -- since we exit the loop when the clock comes up, increasing the
> timeout value will only make us mdelay() longer in the errant case of a
> device with a clock that is not stabilizing, which it seems worth waiting
> a little longer for in general.
> 
> Signed-off-by: Chris Ball <cjb@xxxxxxxxxx>
> Cc: Harald Welte <HaraldWelte@xxxxxxxxxxx>
> ---

Seems reasonable enough to me. The initial limit was completely
arbitrary anyway.

Acked-by: Pierre Ossman <pierre@xxxxxxxxx>

Rgds
-- 
     -- Pierre Ossman

  WARNING: This correspondence is being monitored by the
  Swedish government. Make sure your server uses encryption
  for SMTP traffic and consider using PGP for end-to-end
  encryption.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux