summaryrefslogtreecommitdiffstats
path: root/target/linux/omap24xx/patches-2.6.38/501-cbus-retu-irq-nr-fix.patch
blob: 478bcc83d70ac158f85418e32be3e8c2a05b7042 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/drivers/cbus/retu.c
+++ b/drivers/cbus/retu.c
@@ -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;