aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/imx6/patches-3.10/0034-PCI-imx6-swizzle-interrupts.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/imx6/patches-3.10/0034-PCI-imx6-swizzle-interrupts.patch')
-rw-r--r--target/linux/imx6/patches-3.10/0034-PCI-imx6-swizzle-interrupts.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/imx6/patches-3.10/0034-PCI-imx6-swizzle-interrupts.patch b/target/linux/imx6/patches-3.10/0034-PCI-imx6-swizzle-interrupts.patch
index 425ba8a41e..775bc78179 100644
--- a/target/linux/imx6/patches-3.10/0034-PCI-imx6-swizzle-interrupts.patch
+++ b/target/linux/imx6/patches-3.10/0034-PCI-imx6-swizzle-interrupts.patch
@@ -17,10 +17,10 @@ Signed-off-by: Tim Harvey <tharvey@gateworks.com>
- return pp->irq;
+ switch (pin) {
-+ case 1: return pp->irq;
-+ case 2: return pp->irq - 1;
-+ case 3: return pp->irq - 2;
-+ case 4: return pp->irq - 3;
++ case 1: return pp->irq - 3;
++ case 2: return pp->irq - 2;
++ case 3: return pp->irq - 1;
++ case 4: return pp->irq;
+ default: return -1;
+ }
}