From: Jarkko Lavinen Date: Mon, 26 Nov 2007 16:01:27 +0000 (-0400) Subject: MMC: OMAP: Abort stuck commands X-Git-Tag: v2.6.24-omap1~163 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=975c07f91666edcbbb67c32e730e6db50127b3b3;p=pandora-kernel.git 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 Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed