handle_nested_irq() expects a global IRQ number, so
the irq_base has to be added to the RETU irq number.

Signed-off-by: Michael Buesch <[email protected]>

---

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;
 


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to