diff options
author | Maarten Lankhorst <m.b.lankhorst@gmail.com> | 2011-06-01 23:27:50 +0200 |
---|---|---|
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2011-06-02 16:38:25 -0700 |
commit | 001fd3826f4c736ce292315782d015f768399080 (patch) | |
tree | 2b8bb31f39e4ec0333a7f82fbaa555f996933086 /drivers/usb/gadget/ci13xxx_udc.h | |
parent | e2b0217715c6d10379d94bdfe5560af96eecbb7c (diff) | |
download | blackbird-op-linux-001fd3826f4c736ce292315782d015f768399080.tar.gz blackbird-op-linux-001fd3826f4c736ce292315782d015f768399080.zip |
xhci: Do not issue device reset when device is not setup
xHCI controllers respond to a Reset Device command when the Slot is in the
Enabled/Disabled state by returning an error. This is fine on other host
controllers, but the Etron xHCI host controller returns a vendor-specific
error code that the xHCI driver doesn't understand. The xHCI driver then
gives up on device enumeration.
Instead of issuing a command that will fail, just return. This fixes the
issue with the xhci driver not working on ASRock P67 Pro/Extreme boards.
This should be backported to stable kernels as far back as 2.6.34.
Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: stable@kernel.org
Diffstat (limited to 'drivers/usb/gadget/ci13xxx_udc.h')
0 files changed, 0 insertions, 0 deletions