mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:55:55 +02:00
bcm63xx: readd accidentially dropped ignore_oc in ehci driver
fixes overcurrent warning spam on 3.3 kernels for bcm63xx again. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32221 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
416212fa14
commit
d8ff69c0da
@ -5,7 +5,7 @@ Subject: [PATCH 25/63] ehci: add driver for bcm63xx integrated controller.
|
|||||||
|
|
||||||
---
|
---
|
||||||
drivers/usb/host/Kconfig | 10 ++-
|
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 +
|
drivers/usb/host/ehci-hcd.c | 5 +
|
||||||
3 files changed, 199 insertions(+), 1 deletions(-)
|
3 files changed, 199 insertions(+), 1 deletions(-)
|
||||||
create mode 100644 drivers/usb/host/ehci-bcm63xx.c
|
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
|
depends on USB_EHCI_HCD && FSL_SOC
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/drivers/usb/host/ehci-bcm63xx.c
|
+++ 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
|
+ * 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
|
+ * 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));
|
+ HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase));
|
||||||
+ ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params);
|
+ ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params);
|
||||||
+ ehci->sbrn = 0x20;
|
+ ehci->sbrn = 0x20;
|
||||||
|
+ ehci->ignore_oc = 1;
|
||||||
+
|
+
|
||||||
+ ret = usb_add_hcd(hcd, irq, IRQF_DISABLED);
|
+ ret = usb_add_hcd(hcd, irq, IRQF_DISABLED);
|
||||||
+ if (ret)
|
+ if (ret)
|
||||||
|
Loading…
Reference in New Issue
Block a user