]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP: calculate hsmmc data timeout accurately
authorAdrian Hunter <ext-adrian.hunter@nokia.com>
Thu, 16 Oct 2008 13:37:23 +0000 (16:37 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 28 Oct 2008 16:56:58 +0000 (09:56 -0700)
commiteab20ff369981d51fd966215b5d59ed3bb25e373
treedf6a89aaf5cb4e1aecdab542881fc6af054fe195
parenta23ee2ba73d497a30e67c500d3e32ab070e75a00
ARM: OMAP: calculate hsmmc data timeout accurately

The data timeout can be calculated from the clock
rate and timing values given by the card.  At
present the timeout is set to the maximum value,
about 2.7 secs.  When dealing with cards that do have
errors, this causes large unnecessary delays because
the correct timeout may be around 10 millisecs.

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/mmc/host/omap_hsmmc.c