diff mbox

cbus-retu: Fix nested IRQ handling

Message ID 1298827021.30857.16.camel@marge (mailing list archive)
State Accepted
Commit 0d3b085c4427214ccb9b752457a0061271f4088f
Delegated to: Tony Lindgren
Headers show

Commit Message

Michael Buesch Feb. 27, 2011, 5:17 p.m. UTC
None
diff mbox

Patch

Index: linux-omap-2.6/drivers/cbus/retu.c
===================================================================
--- linux-omap-2.6.orig/drivers/cbus/retu.c	2011-02-27 18:12:41.147193710 +0100
+++ linux-omap-2.6/drivers/cbus/retu.c	2011-02-27 18:13:23.383428594 +0100
@@ -205,7 +205,7 @@  static irqreturn_t retu_irq_handler(int
 		return IRQ_NONE;
 	}
 
-	for (i = 0; idr != 0; i++, idr >>= 1) {
+	for (i = retu->irq_base; idr != 0; i++, idr >>= 1) {
 		if (!(idr & 1))
 			continue;