diff options
author | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2013-03-07 16:24:47 -0800 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2013-03-20 15:03:38 +0000 |
commit | 5bd7c59c9340d87bfd271bed1091aace6a36185b (patch) | |
tree | 83fe57467c570e71d3cde8d1ae16592a8f6282e3 /tools/perf/scripts/python/syscall-counts.py | |
parent | 541f862ec5242ceaa9992554ab4e68dbbb316680 (diff) |
USB: Prepare for refactoring by adding extra udev checks.
commit 2d4fa940f99663c82ba55b2244638833b388e4e2 upstream.
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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions