]> git.baikalelectronics.ru Git - kernel.git/commit
xHCI 1.0: Incompatible Device Error
authorAlex He <alex.he@amd.com>
Wed, 8 Jun 2011 10:34:06 +0000 (18:34 +0800)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Fri, 17 Jun 2011 18:28:08 +0000 (11:28 -0700)
commitf1650cd15627fd592c3695855896c866116ef985
tree2da2e6bc2b35659e5372825ecfd575ffad70ca5e
parent4839dc52f7b05603df6812938130f5e971f4f1df
xHCI 1.0: Incompatible Device Error

It is one new TRB Completion Code for the xHCI spec v1.0.
Asserted if the xHC detects a problem with a device that does not allow it to
be successfully accessed, e.g. due to a device compliance or compatibility
problem. This error may be returned by any command or transfer, and is fatal
as far as the Slot is concerned. Return -EPROTO by urb->status or frame->status
of ISOC for transfer case. And return -ENODEV for configure endpoint command,
evaluate context command and address device command if there is an incompatible
Device Error. The error codes will be sent back to the USB core to decide how
to do. It's unnecessary for other commands because after the three commands run
successfully means that the device has been accepted.

Signed-off-by: Alex He <alex.he@amd.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/host/xhci-ring.c
drivers/usb/host/xhci.c
drivers/usb/host/xhci.h