ar71xx: fix IRQ number for the AR7240 OHCI controller
[openwrt.git] / target / linux / ar71xx / patches-3.2 / 700-ar934x_fix_usb_reset.patch
1 --- a/arch/mips/ath79/dev-usb.c
2 +++ b/arch/mips/ath79/dev-usb.c
3 @@ -190,16 +190,16 @@ static void __init ar934x_usb_setup(void
4 if (bootstrap & AR934X_BOOTSTRAP_USB_MODE_DEVICE)
5 return;
6
7 - ath79_device_reset_clear(AR934X_RESET_USBSUS_OVERRIDE);
8 + ath79_device_reset_set(AR934X_RESET_USBSUS_OVERRIDE);
9 udelay(1000);
10
11 - ath79_device_reset_set(AR934X_RESET_USB_PHY);
12 + ath79_device_reset_clear(AR934X_RESET_USB_PHY);
13 udelay(1000);
14
15 - ath79_device_reset_set(AR934X_RESET_USB_PHY_ANALOG);
16 + ath79_device_reset_clear(AR934X_RESET_USB_PHY_ANALOG);
17 udelay(1000);
18
19 - ath79_device_reset_set(AR934X_RESET_USB_HOST);
20 + ath79_device_reset_clear(AR934X_RESET_USB_HOST);
21 udelay(1000);
22
23 ath79_ehci_resources[0].start = AR934X_EHCI_BASE;
This page took 0.048865 seconds and 5 git commands to generate.