]> git.baikalelectronics.ru Git - kernel.git/commit
USB: xhci: Refactor test for vendor-specific completion codes.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Wed, 9 Dec 2009 23:59:06 +0000 (15:59 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:53:10 +0000 (14:53 -0800)
commitf2ae5ec71eddf4dc189175b02bd9fac8d39a45db
tree63dbdca8d1e755d890aa8fb4f6be2a0bfcfd9bde
parent810249a19ca03dd901ce6a3b22830604aef03f9b
USB: xhci: Refactor test for vendor-specific completion codes.

All commands that can be issued to the xHCI hardware can come back with
vendor-specific "informational" completion codes.  These are to be treated
like a successful completion code.  Refactor out the code to test for the
range of these codes and print debugging messages.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/xhci-ring.c
drivers/usb/host/xhci.h