]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit3d63abe56be2147891b3438cb3bd37a9be72bda7
treeeec5568c93a8616888c2b66c8d8d17f10ee9e9fd
parent6b426e785cb81e53dc2fc4dcf997661472b470ef
[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