• D
    [PATCH] usb device wakeup flags · b94dc6b5
    David Brownell 提交于
    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: NDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
    b94dc6b5
hub.c 82.0 KB