6d91129932fe44f9240e5f67558f1df4ce0ea502
[openwrt/staging/dedeckeh.git] / target / linux / brcm63xx / patches-4.1 / 110-MIPS-BCM63XX-EHCI-controller-does-not-support-overcu.patch
1 From 111bbd770441ab34f9da5bb1d85767a9b75227b4 Mon Sep 17 00:00:00 2001
2 From: Florian Fainelli <florian@openwrt.org>
3 Date: Mon, 28 Jan 2013 20:06:30 +0100
4 Subject: [PATCH 12/12] MIPS: BCM63XX: EHCI controller does not support
5 overcurrent
6
7 This patch sets the ignore_oc flag for the BCM63XX EHCI controller as it
8 does not support proper overcurrent reporting.
9
10 Signed-off-by: Florian Fainelli <florian@openwrt.org>
11 ---
12 arch/mips/bcm63xx/dev-usb-ehci.c | 1 +
13 1 file changed, 1 insertion(+)
14
15 --- a/arch/mips/bcm63xx/dev-usb-ehci.c
16 +++ b/arch/mips/bcm63xx/dev-usb-ehci.c
17 @@ -61,6 +61,7 @@ static void bcm63xx_ehci_power_off(struc
18 static struct usb_ehci_pdata bcm63xx_ehci_pdata = {
19 .big_endian_desc = 1,
20 .big_endian_mmio = 1,
21 + .ignore_oc = 1,
22 .power_on = bcm63xx_ehci_power_on,
23 .power_off = bcm63xx_ehci_power_off,
24 .power_suspend = bcm63xx_ehci_power_off,