From: Arnd Hannemann Date: Wed, 29 Dec 2010 13:21:14 +0000 (+0100) Subject: mmc: tmio_mmc: fix CMD irq handling X-Git-Tag: v2.6.38-rc1~418^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bd6a935555b06622fa7f47a9c411b8a7812e4dc;p=pandora-kernel.git mmc: tmio_mmc: fix CMD irq handling With current code card insert/eject interrupts will acknowledge outstanding commands. Normally this seems to be no problem, however if the hardware gets stuck and no interrupts for CMD_TIMEOUT or CMD_RESPEND are generated, then inserting and ejecting cards will falsely acknowledge outstanding commands from the core. This patch changes the behavior so that CMDs are only acked, if CMD_TIMEOUT or CMD_RESPEND is received. Signed-off-by: Arnd Hannemann Signed-off-by: Chris Ball --- Reading git-diff-tree failed