]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
xhci: Add xhci_reset_halted_ep() helper function
authorMathias Nyman <mathias.nyman@linux.intel.com>
Fri, 29 Jan 2021 13:00:32 +0000 (15:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Jan 2021 13:16:51 +0000 (14:16 +0100)
commitd8ac95001bea683d2088acb3e61613a27b8d2d5f
tree7c609683cf15b34ad15b83042123c10d91760cfa
parentb05dadb28f8779898229e399c21e5192c24beaf2
xhci: Add xhci_reset_halted_ep() helper function

Create a separate helper function to issue reset endpont commands
to clear halted endpoints.

This is useful for cases where a halted endpoint is discovered while
completing another command, and the endpoint halt needs to be cleared
with a endpoint reset first.

No functional changes

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