source: trunk/target/linux/ar71xx/patches-3.3/215-ar934x_fix_usb_reset.patch @ 31357

Last change on this file since 31357 was 31357, checked in by juhosg, 5 years ago

ar71xx: merge/reorganize 3.3 patches

File size: 740 bytes
  • arch/mips/ath79/dev-usb.c

    a b static void __init ar934x_usb_setup(void 
    190190        if (bootstrap & AR934X_BOOTSTRAP_USB_MODE_DEVICE) 
    191191                return; 
    192192 
    193         ath79_device_reset_clear(AR934X_RESET_USBSUS_OVERRIDE); 
     193        ath79_device_reset_set(AR934X_RESET_USBSUS_OVERRIDE); 
    194194        udelay(1000); 
    195195 
    196         ath79_device_reset_set(AR934X_RESET_USB_PHY); 
     196        ath79_device_reset_clear(AR934X_RESET_USB_PHY); 
    197197        udelay(1000); 
    198198 
    199         ath79_device_reset_set(AR934X_RESET_USB_PHY_ANALOG); 
     199        ath79_device_reset_clear(AR934X_RESET_USB_PHY_ANALOG); 
    200200        udelay(1000); 
    201201 
    202         ath79_device_reset_set(AR934X_RESET_USB_HOST); 
     202        ath79_device_reset_clear(AR934X_RESET_USB_HOST); 
    203203        udelay(1000); 
    204204 
    205205        ath79_ehci_resources[0].start = AR934X_EHCI_BASE; 
Note: See TracBrowser for help on using the repository browser.