lkml.org 
[lkml]   [2011]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC] sdhci: timeouts
From
On Sat, May 28, 2011 at 19:09, Charles Hannum <root@ihack.net> wrote:
> 4) Ultimately I found that some SDHC cards just seem to take a good
> long time to respond.  I ended up increasing the write timeout to 1s
> and I've encountered 0 problems since then.  Since this is only an
> error condition, and therefore hardly of any performance concerns, I
> suggest it may be a good idea to do this in general.  See attached
> patch sdhci-timeout-limit.diff

BTW, I should mention that, with a TMCLK of 33000 (very common,
because it's just the PCI bus clock), increasing the limit from 300000
to 1000000 us actually increases the “counter” value by exactly 1
(from 11 to 12). This is probably why the older controller-specific
hack of simply incrementing the counter worked.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2011-05-29 01:21    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site