xhci: handle no ping response error properly
authorMathias Nyman <mathias.nyman@linux.intel.com>
Mon, 12 Oct 2015 08:30:12 +0000 (11:30 +0300)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 17 Nov 2015 15:54:43 +0000 (15:54 +0000)
commitc35a75f2913c3aa3ac9d43683c8fccddde16b164
treef588868fa5f6b8554775edb1f407d3b1cb65f760
parent7c6aca1947a312bcc23dc8e1000e4f13c7b43555
xhci: handle no ping response error properly

commit 3b4739b8951d650becbcd855d7d6f18ac98a9a85 upstream.

If a host fails to wake up a isochronous SuperSpeed device from U1/U2
in time for a isoch transfer it will generate a "No ping response error"
Host will then move to the next transfer descriptor.

Handle this case in the same way as missed service errors, tag the
current TD as skipped and handle it on the next transfer event.

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/host/xhci-ring.c