aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-02-09 20:39:41 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-02-09 20:39:41 +0000
commit848dedeb8bc6f9d2c62b50eb18ab033d873551fd (patch)
tree4019452df36b78bb5853085fddf9f87a2be69708 /target/linux
parentd82daa2728d935a7ef57405ad4aa20fbfdce29b3 (diff)
downloadupstream-848dedeb8bc6f9d2c62b50eb18ab033d873551fd.tar.gz
upstream-848dedeb8bc6f9d2c62b50eb18ab033d873551fd.tar.bz2
upstream-848dedeb8bc6f9d2c62b50eb18ab033d873551fd.zip
ar71xx: fix ar934x usb reset handling on 3.2
SVN-Revision: 30399
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/patches-3.2/700-ar934x_fix_usb_reset.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-3.2/700-ar934x_fix_usb_reset.patch b/target/linux/ar71xx/patches-3.2/700-ar934x_fix_usb_reset.patch
new file mode 100644
index 0000000000..2981350719
--- /dev/null
+++ b/target/linux/ar71xx/patches-3.2/700-ar934x_fix_usb_reset.patch
@@ -0,0 +1,23 @@
+--- a/arch/mips/ath79/dev-usb.c
++++ b/arch/mips/ath79/dev-usb.c
+@@ -188,16 +188,16 @@ static void __init ar934x_usb_setup(void
+ if (bootstrap & AR934X_BOOTSTRAP_USB_MODE_DEVICE)
+ return;
+
+- ath79_device_reset_clear(AR934X_RESET_USBSUS_OVERRIDE);
++ ath79_device_reset_set(AR934X_RESET_USBSUS_OVERRIDE);
+ udelay(1000);
+
+- ath79_device_reset_set(AR934X_RESET_USB_PHY);
++ ath79_device_reset_clear(AR934X_RESET_USB_PHY);
+ udelay(1000);
+
+- ath79_device_reset_set(AR934X_RESET_USB_PHY_ANALOG);
++ ath79_device_reset_clear(AR934X_RESET_USB_PHY_ANALOG);
+ udelay(1000);
+
+- ath79_device_reset_set(AR934X_RESET_USB_HOST);
++ ath79_device_reset_clear(AR934X_RESET_USB_HOST);
+ udelay(1000);
+
+ ath79_ehci_resources[0].start = AR934X_EHCI_BASE;