Ignore:
Timestamp:
05/28/10 03:30:43 (3 years ago)
Author:
BrainSlayer
Message:

wndr3700 usb led

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/pb42/linux-2.6.23/drivers/usb/core/hub.c

    r13817 r14511  
    11731173        dev_info (&udev->dev, "USB disconnect, address %d\n", udev->devnum); 
    11741174 
    1175 #ifdef AP_USB_LED_GPIO 
    11761175        /* Turn USB LED off only if its a last device attached to root hub */ 
    11771176        if(udev->parent == udev->bus->root_hub) 
    11781177                ap_usb_led_off();        
    1179 #endif 
    11801178 
    11811179        usb_lock_device(udev); 
     
    20912089                                /* success, speed is known */ 
    20922090        retval = -ENODEV; 
    2093 #ifdef AP_USB_LED_GPIO 
    2094                         ap_usb_led_on(); 
    2095 #endif 
     2091        ap_usb_led_on(); 
    20962092 
    20972093        if (oldspeed != USB_SPEED_UNKNOWN && oldspeed != udev->speed) { 
Note: See TracChangeset for help on using the changeset viewer.