]> git.baikalelectronics.ru Git - kernel.git/commit
[MMC] sdhci: fix timeout loops in sdhci
authorPierre Ossman <drzeus@drzeus.cx>
Fri, 30 Jun 2006 09:22:23 +0000 (02:22 -0700)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 2 Jul 2006 15:02:02 +0000 (16:02 +0100)
commit83dfff34fd8b78d4accea3a931d4b444370f3a13
tree65354e6d46ae68915481a7a3f86fbcbb92c4d803
parent54daff5d8386638937159592d005cfa2a070f3de
[MMC] sdhci: fix timeout loops in sdhci

The current timeout loop assume that jiffies are updated.  This might not be
the case depending on locks and if the kernel is compiled without preemption.
Change the system to use a counter and fixed delays.

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