• David Brownell's avatar
    [PATCH] usb device wakeup flags · b94dc6b5
    David Brownell authored
    This patch teaches "usb_device" about the new driver model wakeup support:
    
     - It updates device wakeup capabilities when entering a configuration
       with the WAKEUP attribute;
    
     - During suspend processing it consults the policy bit to see
       whether it should enable wakeup for that device.  (This resolves
       a FIXME to not assume the answer is always "yes"; some devices
       lie about supporting remote wakeup.)
    
    Support for root hubs and the HCDs is separate (and more complex).
    Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    b94dc6b5
hub.c 82 KB