xhci: support calling cleanup_halted_endpoint with soft retry
authorMathias Nyman <mathias.nyman@linux.intel.com>
Thu, 15 Jun 2017 08:55:45 +0000 (11:55 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Jun 2017 20:17:46 +0000 (22:17 +0200)
commit5eee4b6b4f572bfce953f1e38cea087b9933e0e9
tree420590b4e34454d6db97a32ab2b9862ad6ba8072
parent217491487c43892318c18b6dcafe33b6353efd40
xhci: support calling cleanup_halted_endpoint with soft retry

Add soft reset support to cleanup_halted_endpoint().
using soft reset will prevent it from setting a new dequeue pointer to
start the transfer from. Let it continue where it halted.

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-ring.c