diff options
author | Jean Pihet <jpihet@mvista.com> | 2009-02-11 13:11:39 -0800 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2009-02-18 22:10:49 +0100 |
commit | c232f457e409b34417166596ea3daf298ace95c9 (patch) | |
tree | f0ab268076cfd4ba680b707285263e6794541781 /drivers/block/umem.h | |
parent | eb25082657be3e7639e349fc926afdcbb0a4dc65 (diff) |
omap_hsmmc: recover from transfer failures
Timeouts during a command that has a data phase can result in the next
command issued after the command that failed not being processed, i.e. no
interrupt ever occurs to indicate the command has completed. This failure
can result in a deadlock.
This patch resets the data state machine to clear the error in case of a
command timeout.
Tested on OMAP3430 chip and intensive MMC/SD device removal while
transferring data.
Signed-off-by: Andy Lowe <alowe@mvista.com>
Signed-off-by: Jean Pihet <jpihet@mvista.com>
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/block/umem.h')
0 files changed, 0 insertions, 0 deletions