summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authormb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-02-27 17:24:28 +0000
committermb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-02-27 17:24:28 +0000
commita27ea939738a4c7bb6e1d91ab026876986eee26b (patch)
treee96c34f2a6c9d4272f183569f45379d3052ab873 /target
parent8bbe4d1e74df2df1e15e5d0b5ec6b33d6a125d93 (diff)
cbus-retu: Fix nested IRQ handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25759 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/omap24xx/patches-2.6.38/501-cbus-retu-irq-nr-fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/omap24xx/patches-2.6.38/501-cbus-retu-irq-nr-fix.patch b/target/linux/omap24xx/patches-2.6.38/501-cbus-retu-irq-nr-fix.patch
new file mode 100644
index 000000000..abe3e0305
--- /dev/null
+++ b/target/linux/omap24xx/patches-2.6.38/501-cbus-retu-irq-nr-fix.patch
@@ -0,0 +1,13 @@
+Index: linux-2.6.38-rc6/drivers/cbus/retu.c
+===================================================================
+--- linux-2.6.38-rc6.orig/drivers/cbus/retu.c 2011-02-27 18:01:26.306458689 +0100
++++ linux-2.6.38-rc6/drivers/cbus/retu.c 2011-02-27 18:05:56.472263901 +0100
+@@ -205,7 +205,7 @@
+ 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;
+