diff options
| author | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2012-12-04 15:27:50 -0800 |
|---|---|---|
| committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2013-01-03 14:10:32 -0800 |
| commit | 2d4fa940f99663c82ba55b2244638833b388e4e2 (patch) | |
| tree | f350a0a9da069bb165727b2a80b13d049dea4183 /tools/perf/scripts/python/bin | |
| parent | 0fe51aa5eee51db7c7ecd201d42a977ad79c58b6 (diff) | |
USB: Prepare for refactoring by adding extra udev checks.
The next patch will refactor the hub port code to rip out the recursive
call to hub_port_reset on a failed hot reset. In preparation for that,
make sure all code paths can deal with being called with a NULL udev.
The usb_device will not be valid if warm reset was issued because a port
transitioned to the Inactive or Compliance Mode on a device connect.
This patch should have no effect on current behavior.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
