summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/patches-3.3/214-MIPS-ath79-fix-IRQ-number-for-AR7240-OHCI.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-03-20 15:02:48 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-03-20 15:02:48 +0000
commitc8bf90d4141098b41c7576c4bab1b28968d96f82 (patch)
tree252f5202f5f1973b94ead90b3b132749e57443b5 /target/linux/ar71xx/patches-3.3/214-MIPS-ath79-fix-IRQ-number-for-AR7240-OHCI.patch
parent6f467047431e3906a54d159ca093f0a0ee6826a1 (diff)
downloadmtk-20170518-c8bf90d4141098b41c7576c4bab1b28968d96f82.zip
mtk-20170518-c8bf90d4141098b41c7576c4bab1b28968d96f82.tar.gz
mtk-20170518-c8bf90d4141098b41c7576c4bab1b28968d96f82.tar.bz2
ar71xx: fix IRQ number for the AR7240 OHCI controller
SVN-Revision: 31044
Diffstat (limited to 'target/linux/ar71xx/patches-3.3/214-MIPS-ath79-fix-IRQ-number-for-AR7240-OHCI.patch')
-rw-r--r--target/linux/ar71xx/patches-3.3/214-MIPS-ath79-fix-IRQ-number-for-AR7240-OHCI.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-3.3/214-MIPS-ath79-fix-IRQ-number-for-AR7240-OHCI.patch b/target/linux/ar71xx/patches-3.3/214-MIPS-ath79-fix-IRQ-number-for-AR7240-OHCI.patch
new file mode 100644
index 0000000..0be5aa8
--- /dev/null
+++ b/target/linux/ar71xx/patches-3.3/214-MIPS-ath79-fix-IRQ-number-for-AR7240-OHCI.patch
@@ -0,0 +1,11 @@
+--- a/arch/mips/ath79/dev-usb.c
++++ b/arch/mips/ath79/dev-usb.c
+@@ -126,6 +126,8 @@ static void __init ar7240_usb_setup(void
+
+ ath79_ohci_resources[0].start = AR7240_OHCI_BASE;
+ ath79_ohci_resources[0].end = AR7240_OHCI_BASE + AR7240_OHCI_SIZE - 1;
++ ath79_ohci_resources[1].start = ATH79_CPU_IRQ_USB;
++ ath79_ohci_resources[1].end = ATH79_CPU_IRQ_USB;
+ platform_device_register(&ath79_ohci_device);
+ }
+