Home
last modified time | relevance | path

Searched hist:"2 d4fa940" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/core/
H A Dhub.c2d4fa940 Tue Dec 04 17:27:50 CST 2012 Sarah Sharp <sarah.a.sharp@linux.intel.com> 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>
2d4fa940 Tue Dec 04 17:27:50 CST 2012 Sarah Sharp <sarah.a.sharp@linux.intel.com> 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>