[MMC] sdhci: proper timeout handling
authorPierre Ossman <drzeus@drzeus.cx>
Fri, 30 Jun 2006 09:22:25 +0000 (02:22 -0700)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 2 Jul 2006 15:02:04 +0000 (16:02 +0100)
commit1c8cde92fa5c57daa9ff58d970ca6374f8d484a2
tree96ddfe6071bcede86521fda46c0eafd27c4689c1
parente16514d8d86ecbde18a2a7495cf028861b34c157
[MMC] sdhci: proper timeout handling

Use the give timeout clock and calculate a proper timeout instead of using the
maximum at all times.

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
drivers/mmc/sdhci.h