| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | [PATCH v3 2/4] MIPS: ath79: use correct IRQ number for the OHCI controller on AR7240 |
| From: | Gabor Juhos <juhosg@openwrt.org> |
| Date: | Sat, 4 Aug 2012 18:01:25 +0200 |
| Cc: | linux-mips@linux-mips.org, Gabor Juhos <juhosg@openwrt.org> |
| In-reply-to: | <1344096087-25044-1-git-send-email-juhosg@openwrt.org> |
| List-archive: | <http://www.linux-mips.org/archives/linux-mips/> |
| List-help: | <mailto:ecartis@linux-mips.org?Subject=help> |
| List-id: | linux-mips <linux-mips.eddie.linux-mips.org> |
| List-owner: | <mailto:ralf@linux-mips.org> |
| List-post: | <mailto:linux-mips@linux-mips.org> |
| List-software: | Ecartis version 1.0.0 |
| List-subscribe: | <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips> |
| List-unsubscribe: | <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips> |
| References: | <1344096087-25044-1-git-send-email-juhosg@openwrt.org> |
| Sender: | linux-mips-bounce@linux-mips.org |
The currently assigned IRQ number to the OHCI
controller is incorrect for the AR7240 SoC, and
that leads to the following error message from
the OHCI driver:
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ath79-ohci ath79-ohci: Atheros built-in OHCI controller
ath79-ohci ath79-ohci: new USB bus registered, assigned bus number 1
ath79-ohci ath79-ohci: irq 14, io mem 0x1b000000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usb 1-1: new full-speed USB device number 2 using ath79-ohci
ath79-ohci ath79-ohci: Unlink after no-IRQ? Controller is probably using the
wrong IRQ.
Fix this by using the correct IRQ number.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
---
arch/mips/ath79/dev-usb.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/mips/ath79/dev-usb.c b/arch/mips/ath79/dev-usb.c
index 36e9570..b2a2311 100644
--- a/arch/mips/ath79/dev-usb.c
+++ b/arch/mips/ath79/dev-usb.c
@@ -145,6 +145,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);
}
--
1.7.10
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH v3 1/4] MIPS: ath79: fix number of GPIO lines for AR724[12], Gabor Juhos |
|---|---|
| Next by Date: | [PATCH v3 4/4] MIPS: ath79: don't override CPU ASE features, Gabor Juhos |
| Previous by Thread: | Re: [PATCH v3 1/4] MIPS: ath79: fix number of GPIO lines for AR724[12], Gabor Juhos |
| Next by Thread: | Re: [PATCH v3 2/4] MIPS: ath79: use correct IRQ number for the OHCI controller on AR7240, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |