Openwrt/target/linux/omap24xx/patches-2.6.38/501-cbus-retu-irq-nr-fix.patch

12 lines
270 B
Diff
Raw Normal View History

--- 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;