]> git.karo-electronics.de Git - mv-sheeva.git/commit
USB: Refactor hub remote wake handling.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Tue, 24 Jan 2012 21:53:18 +0000 (13:53 -0800)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Tue, 14 Feb 2012 20:12:25 +0000 (12:12 -0800)
commit714b07be3bbf94d2dc9838723d63fc827fdbef12
treef1cc2f85151f14dcc70e73b94c8ef8e364dc1276
parent4296c70a5ec316903ef037ed15f154dd3d354ad7
USB: Refactor hub remote wake handling.

Refactor the code to check for a remote wakeup on a port into its own
function.  Keep the behavior the same, and set connect_change in
hub_events if the device disconnected on resume.  Cleanup references to
hdev->children[i-1] to use a common variable.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/core/hub.c