]> git.baikalelectronics.ru Git - kernel.git/commit
xhci: Fix command ring stop regression in 4.11
authorMathias Nyman <mathias.nyman@linux.intel.com>
Wed, 17 May 2017 15:32:05 +0000 (18:32 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 May 2017 13:19:42 +0000 (15:19 +0200)
commit9a5049e28dcc4b9a14999e4dc57e304d66ad5a24
tree1be69b4009a5da20c5959a771e661fe07b4907cb
parent1b8fcadd42ac2543d2983edeb7b5ecda3d664844
xhci: Fix command ring stop regression in 4.11

In 4.11 TRB completion codes were renamed to match spec.

Completion codes for command ring stopped and endpoint stopped
were mixed, leading to failures while handling a stopped command ring.

Use the correct completion code for command ring stopped events.

Fixes: 6201a1e6400c ("usb: host: xhci: rename completion codes to match spec")
Cc: <stable@vger.kernel.org> # 4.11
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-hub.c
drivers/usb/host/xhci-ring.c
drivers/usb/host/xhci.c