xhci: Don't always run the default stop endpoint command completion handler
authorMathias Nyman <mathias.nyman@linux.intel.com>
Fri, 16 Mar 2018 14:33:02 +0000 (16:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Mar 2018 14:40:18 +0000 (15:40 +0100)
commita38fe33889095c5d7b1eb094d977fc3f2bab7ebd
tree7c6d75e5e54caaf7cb92b4cb2b6e95f48ab6aea0
parenta400efe455f7b61ac9a801ac8d0d01f8c8d82dd5
xhci: Don't always run the default stop endpoint command completion handler

The default stop endpoint completion handler will give back cancelled
URBs, and clean, or move past those canceller TRBs on the ring.

This is not always the preferred action.

If the stop endpoint command issuer is waiting for a completion
skip the default handler and just call the completion.

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