]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
MMC: OMAP: Abort stuck commands
authorJarkko Lavinen <jarkko.lavinen@nokia.com>
Mon, 26 Nov 2007 16:01:27 +0000 (12:01 -0400)
committerTony Lindgren <tony@atomide.com>
Wed, 28 Nov 2007 01:55:57 +0000 (17:55 -0800)
commit975c07f91666edcbbb67c32e730e6db50127b3b3
treeb92b8fc3630174d450f2aed46acf868a60718df9
parent74db22f68900fe1bc4c4a45ed6be36f5b16c14b2
MMC: OMAP: Abort stuck commands

When a card is removed while it is being accessed, a command can get stuck so
that no timeout or end of command interrupt ever occurs. The command getting
stuck is almost always CDM12, but also the other commands can get stuck. Catch
a stuck command with a timer and try sending the initiliazation stream until
the controller starts running again and responds with the end of command
status.

Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/mmc/host/omap.c