aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/usb/misc
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2006-11-20 11:14:30 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2006-12-01 14:25:52 -0800
commitd25450c68767481f7c9cc4823a6da8235db40be6 (patch)
tree1a982e5b7ed83f1911bbc3e58a02552d765d192a /drivers/usb/misc
parentUSB: struct usb_device: change flag to bitflag (diff)
downloadwireguard-linux-d25450c68767481f7c9cc4823a6da8235db40be6.tar.xz
wireguard-linux-d25450c68767481f7c9cc4823a6da8235db40be6.zip
USB hub: simplify remote-wakeup handling
This patch (as817) simplifies the remote-wakeup processing in the hub driver. Now instead of using a specialized code path, it relies on the standard USB resume routines. The hub_port_resume() function does an initial get_port_status() to see whether the port has already resumed itself (as it does when a remote-wakeup request is sent). This will slow down handling of other resume events slightly, but not enough to matter. The patch also changes the hub_port_status() routine, making it return an error if a short reply is received. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/misc')
0 files changed, 0 insertions, 0 deletions