]> git.baikalelectronics.ru Git - kernel.git/commit
USB: Don't use EHCI port sempahore for USB 3.0 hubs.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Thu, 1 Nov 2012 18:20:44 +0000 (11:20 -0700)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Thu, 3 Jan 2013 22:10:31 +0000 (14:10 -0800)
commit45b2db52dfb7fc9989d5646c97e97ed0809de8dc
tree989d9a470b35dd58d3821843122e66459e5cdce0
parent651d0d4b13661b0a80836b486977d4271d2af7c9
USB: Don't use EHCI port sempahore for USB 3.0 hubs.

The EHCI host controller needs to prevent EHCI initialization when the
UHCI or OHCI companion controller is in the middle of a port reset.  It
uses ehci_cf_port_reset_rwsem to do this.  USB 3.0 hubs can't be under
an EHCI host controller, so it makes no sense to down the semaphore for
USB 3.0 hubs.  It also makes the warm port reset code more complex.

Don't down ehci_cf_port_reset_rwsem for USB 3.0 hubs.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
drivers/usb/core/hub.c