summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2012-06-11 22:24:58 +0000
committerJonas Gorski <jogo@openwrt.org>2012-06-11 22:24:58 +0000
commitf2271efc4ee67d4051b1d89fc01c82a66999df41 (patch)
treea5e143142110f94cfd32702e8158c574f2f8fcc3
parentd40fe9d24ec6802cf86a710fbbcad6437a951559 (diff)
downloadmtk-20170518-f2271efc4ee67d4051b1d89fc01c82a66999df41.zip
mtk-20170518-f2271efc4ee67d4051b1d89fc01c82a66999df41.tar.gz
mtk-20170518-f2271efc4ee67d4051b1d89fc01c82a66999df41.tar.bz2
bcm63xx: readd accidentially dropped ignore_oc in ehci driver
fixes overcurrent warning spam on 3.3 kernels for bcm63xx again. SVN-Revision: 32221
-rw-r--r--target/linux/brcm63xx/patches-3.3/402-ehci-add-driver-for-bcm63xx-integrated-controller.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/brcm63xx/patches-3.3/402-ehci-add-driver-for-bcm63xx-integrated-controller.patch b/target/linux/brcm63xx/patches-3.3/402-ehci-add-driver-for-bcm63xx-integrated-controller.patch
index 3319e75..42c85e9 100644
--- a/target/linux/brcm63xx/patches-3.3/402-ehci-add-driver-for-bcm63xx-integrated-controller.patch
+++ b/target/linux/brcm63xx/patches-3.3/402-ehci-add-driver-for-bcm63xx-integrated-controller.patch
@@ -5,7 +5,7 @@ Subject: [PATCH 25/63] ehci: add driver for bcm63xx integrated controller.
---
drivers/usb/host/Kconfig | 10 ++-
- drivers/usb/host/ehci-bcm63xx.c | 185 +++++++++++++++++++++++++++++++++++++++
+ drivers/usb/host/ehci-bcm63xx.c | 186 +++++++++++++++++++++++++++++++++++++++
drivers/usb/host/ehci-hcd.c | 5 +
3 files changed, 199 insertions(+), 1 deletions(-)
create mode 100644 drivers/usb/host/ehci-bcm63xx.c
@@ -38,7 +38,7 @@ Subject: [PATCH 25/63] ehci: add driver for bcm63xx integrated controller.
depends on USB_EHCI_HCD && FSL_SOC
--- /dev/null
+++ b/drivers/usb/host/ehci-bcm63xx.c
-@@ -0,0 +1,185 @@
+@@ -0,0 +1,186 @@
+/*
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License. See the file "COPYING" in the main directory of this archive
@@ -179,6 +179,7 @@ Subject: [PATCH 25/63] ehci: add driver for bcm63xx integrated controller.
+ HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase));
+ ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params);
+ ehci->sbrn = 0x20;
++ ehci->ignore_oc = 1;
+
+ ret = usb_add_hcd(hcd, irq, IRQF_DISABLED);
+ if (ret)