commit | 714b07be3bbf94d2dc9838723d63fc827fdbef12 | [log] [tgz] |
---|---|---|
author | Sarah Sharp <sarah.a.sharp@linux.intel.com> | Tue Jan 24 13:53:18 2012 -0800 |
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | Tue Feb 14 12:12:25 2012 -0800 |
tree | f1cc2f85151f14dcc70e73b94c8ef8e364dc1276 | |
parent | 4296c70a5ec316903ef037ed15f154dd3d354ad7 [diff] |
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>