aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/patches-3.10/525-MIPS-ath79-enable-qca-usb-quirks.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-05-25 16:14:16 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-05-25 16:14:16 +0000
commit4abf4e223eec684b19c813eb4a6b0f57612d0dd4 (patch)
tree849e1e670bd8348af48a0de0a91cf25c8e80523f /target/linux/ar71xx/patches-3.10/525-MIPS-ath79-enable-qca-usb-quirks.patch
parent8e86ab919441ab68afbe672f00049803fad1f9ec (diff)
downloadupstream-4abf4e223eec684b19c813eb4a6b0f57612d0dd4.tar.gz
upstream-4abf4e223eec684b19c813eb4a6b0f57612d0dd4.tar.bz2
upstream-4abf4e223eec684b19c813eb4a6b0f57612d0dd4.zip
ar71xx: disable usb workarounds for ar913x again (should fix #16610)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40846 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/patches-3.10/525-MIPS-ath79-enable-qca-usb-quirks.patch')
-rw-r--r--target/linux/ar71xx/patches-3.10/525-MIPS-ath79-enable-qca-usb-quirks.patch14
1 files changed, 12 insertions, 2 deletions
diff --git a/target/linux/ar71xx/patches-3.10/525-MIPS-ath79-enable-qca-usb-quirks.patch b/target/linux/ar71xx/patches-3.10/525-MIPS-ath79-enable-qca-usb-quirks.patch
index df6825771e..696ad335e5 100644
--- a/target/linux/ar71xx/patches-3.10/525-MIPS-ath79-enable-qca-usb-quirks.patch
+++ b/target/linux/ar71xx/patches-3.10/525-MIPS-ath79-enable-qca-usb-quirks.patch
@@ -9,7 +9,17 @@
};
static void __init ath79_usb_register(const char *name, int id,
-@@ -182,14 +184,34 @@ static void __init ar933x_usb_setup(void
+@@ -159,6 +161,9 @@ static void __init ar913x_usb_setup(void
+ ath79_device_reset_clear(AR913X_RESET_USB_PHY);
+ mdelay(10);
+
++ ath79_ehci_pdata_v2.qca_force_host_mode = 0;
++ ath79_ehci_pdata_v2.qca_force_16bit_ptw = 0;
++
+ ath79_usb_register("ehci-platform", -1,
+ AR913X_EHCI_BASE, AR913X_EHCI_SIZE,
+ ATH79_CPU_IRQ(3),
+@@ -182,14 +187,34 @@ static void __init ar933x_usb_setup(void
&ath79_ehci_pdata_v2, sizeof(ath79_ehci_pdata_v2));
}
@@ -48,7 +58,7 @@
ath79_device_reset_set(AR934X_RESET_USBSUS_OVERRIDE);
udelay(1000);
-@@ -202,14 +224,40 @@ static void __init ar934x_usb_setup(void
+@@ -202,14 +227,40 @@ static void __init ar934x_usb_setup(void
ath79_device_reset_clear(AR934X_RESET_USB_HOST);
udelay(1000);