]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/mmc/host/sdhci.c
[MMC] sdhci: fix sdhci reset timeout
authorPierre Ossman <drzeus@drzeus.cx>
Fri, 30 Jun 2006 09:22:24 +0000 (02:22 -0700)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 2 Jul 2006 15:02:03 +0000 (16:02 +0100)
commite16514d8d86ecbde18a2a7495cf028861b34c157
tree9bef8f5f095d8fb4088ec1344369ada10c106d00
parent7cb2c76fa2251474e42d55b75163c9d7ed11741e
[MMC] sdhci: fix sdhci reset timeout

The reset register is automatically cleared when the reset has completed.
Hence, we should busy wait and not have a fixed delay.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/sdhci.c