diff options
author | Chris Ball <cjb@laptop.org> | 2009-09-23 01:45:31 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 16:39:40 +0200 |
commit | 27f6cb160b71b342b7a47d28a4b6c422ea74ccd1 (patch) | |
tree | 6a1618d1475961b5e42efbed7dd5410234e9888d /fs/gfs2/meta_io.c | |
parent | sdhci: support for ADMA only hosts (diff) | |
download | linux-27f6cb160b71b342b7a47d28a4b6c422ea74ccd1.tar.xz linux-27f6cb160b71b342b7a47d28a4b6c422ea74ccd1.zip |
sdhci: increase timeout for internal clock stabilization.
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@laptop.org>
Cc: Harald Welte <HaraldWelte@viatech.com>
Acked-by: Pierre Ossman <pierre@ossman.eu>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/gfs2/meta_io.c')
0 files changed, 0 insertions, 0 deletions