summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2011-02-27 17:24:28 +0000
committerMichael Büsch <mb@bu3sch.de>2011-02-27 17:24:28 +0000
commit4779fdce2a74f365c0d12a6a78e9a6555b4ed358 (patch)
tree5cae3a44cbafa89f699fce7c90496827d2dba158
parent560ae67c671a9aeaac302dcd980686601d9f610d (diff)
downloadmtk-20170518-4779fdce2a74f365c0d12a6a78e9a6555b4ed358.zip
mtk-20170518-4779fdce2a74f365c0d12a6a78e9a6555b4ed358.tar.gz
mtk-20170518-4779fdce2a74f365c0d12a6a78e9a6555b4ed358.tar.bz2
cbus-retu: Fix nested IRQ handling
SVN-Revision: 25759
-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 0000000..abe3e03
--- /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;
+