From: Nicolas Pitre Date: Wed, 3 Oct 2007 19:32:57 +0000 (-0400) Subject: sdio: make the IRQ thread more resilient in the presence of bad states X-Git-Tag: v2.6.24-rc1~1464^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=599473cf15a3fae78cbc3192cfb38ca04d5abc72;p=pandora-kernel.git sdio: make the IRQ thread more resilient in the presence of bad states Currently we print a message about some bad states wrt function IRQ handlers but return 0 from process_sdio_pending_irqs() nevertheless. This can lead to an infinite loop as nothing might have cleared the condition for the pending card interrupt from the host controller by the time host->ops->enable_sdio_irq(host, 1) is called. Signed-off-by: Nicolas Pitre Signed-off-by: Pierre Ossman --- Reading git-diff-tree failed