[MMC] extend data timeout for writes
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Tue, 2 May 2006 16:24:59 +0000 (17:24 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 2 May 2006 16:24:59 +0000 (17:24 +0100)
commit37be4e7809e0581db85387e126ae4da68c3d6286
treea3543202fa066bc930e09b9e36d32ab74fd38967
parent81d38428df26377c91e7e193aa4d2fdfdcda300a
[MMC] extend data timeout for writes

The CSD contains a "read2write factor" which determines the multiplier to
be applied to the read timeout to obtain the write timeout.  We were
ignoring this parameter, resulting in the possibility for writes being
timed out too early.

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