From e386148a359011a6744ed99f690bd1ed1f33ab19 Mon Sep 17 00:00:00 2001 From: juhosg Date: Thu, 19 Apr 2012 21:31:50 +0000 Subject: ar71xx: merge/reorganize 3.3 patches git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31357 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches-3.3/215-ar934x_fix_usb_reset.patch | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 target/linux/ar71xx/patches-3.3/215-ar934x_fix_usb_reset.patch (limited to 'target/linux/ar71xx/patches-3.3/215-ar934x_fix_usb_reset.patch') 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 000000000..e92353bdf --- /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; -- cgit v1.2.3