From: Jarkko Lavinen Date: Wed, 26 Mar 2008 20:09:29 +0000 (-0400) Subject: MMC: OMAP: Abort stuck commands X-Git-Tag: v2.6.26-rc1~1112^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb1860bccd01a75b20fd7298af89b9cbda2202ba;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 initialization stream until the controller starts running again and responds with the end of command status. Signed-off-by: Jarkko Lavinen Signed-off-by: Carlos Eduardo Aguiar Signed-off-by: Tony Lindgren Signed-off-by: Pierre Ossman --- Reading git-diff-tree failed