summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/patches-3.3/700-ar934x_fix_usb_reset.patch
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-10 11:53:56 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-10 11:53:56 +0000
commit33ec8951f887ab2beb1340d44f7de2a5da57da8a (patch)
tree2f4a046c54773ff59de670c3e3c682d11b04d3f6 /target/linux/ar71xx/patches-3.3/700-ar934x_fix_usb_reset.patch
parentd2514fe7ac14635d86f3e782c0bcc4bd2709db26 (diff)
ar71xx: add preliminary support for 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30410 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/patches-3.3/700-ar934x_fix_usb_reset.patch')
-rw-r--r--target/linux/ar71xx/patches-3.3/700-ar934x_fix_usb_reset.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-3.3/700-ar934x_fix_usb_reset.patch b/target/linux/ar71xx/patches-3.3/700-ar934x_fix_usb_reset.patch
new file mode 100644
index 000000000..298135071
--- /dev/null
+++ b/target/linux/ar71xx/patches-3.3/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;