]> git.baikalelectronics.ru Git - kernel.git/commit
[MMC] pxamci: fix data timeout calculation
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 24 Apr 2006 10:27:02 +0000 (11:27 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 24 Apr 2006 10:27:02 +0000 (11:27 +0100)
commita93c2e22ed14caf818455a704cb967f85dec8d28
treeeec5568c93a8616888c2b66c8d8d17f10ee9e9fd
parent28e29049a555e6e3ef847f1b2313a3115411e865
[MMC] pxamci: fix data timeout calculation

The MMC layer gives us two parts for the timeout calculation - a fixed
timeout in nanoseconds, and a card clock-speed dependent part.

The PXA MMC hardware allows for a timeout based on the fixed host clock
speed only.  This resulted in some cards being given a short timeout,
and therefore failing to work.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/pxamci.c