aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/patches-3.3/215-ar934x_fix_usb_reset.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-04-19 21:31:50 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-04-19 21:31:50 +0000
commitef97415b926f8a1b12ca60e4b36a70698d2f967f (patch)
tree31b6e0fcfd27f8f3f6630c1f457ac5a4e7c801f4 /target/linux/ar71xx/patches-3.3/215-ar934x_fix_usb_reset.patch
parent408de8588325333aa127661b1de8bb00dd82572b (diff)
downloadupstream-ef97415b926f8a1b12ca60e4b36a70698d2f967f.tar.gz
upstream-ef97415b926f8a1b12ca60e4b36a70698d2f967f.tar.bz2
upstream-ef97415b926f8a1b12ca60e4b36a70698d2f967f.zip
ar71xx: merge/reorganize 3.3 patches
SVN-Revision: 31357
Diffstat (limited to 'target/linux/ar71xx/patches-3.3/215-ar934x_fix_usb_reset.patch')
-rw-r--r--target/linux/ar71xx/patches-3.3/215-ar934x_fix_usb_reset.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-3.3/215-ar934x_fix_usb_reset.patch b/target/linux/ar71xx/patches-3.3/215-ar934x_fix_usb_reset.patch
new file mode 100644
index 0000000000..e92353bdf2
--- /dev/null
+++ b/target/linux/ar71xx/patches-3.3/215-ar934x_fix_usb_reset.patch
@@ -0,0 +1,23 @@
+--- a/arch/mips/ath79/dev-usb.c
++++ b/arch/mips/ath79/dev-usb.c
+@@ -190,16 +190,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;