Files
android_kernel_xiaomi_sm8450/drivers/usb/host
Mathias Nyman 44c635c60f xhci: Add xhci_reset_halted_ep() helper function
[ Upstream commit d8ac95001bea683d2088acb3e61613a27b8d2d5f ]

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>
Stable-dep-of: a1575120972e ("xhci: Prevent infinite loop in transaction errors recovery for streams")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-18 11:44:56 +01:00
..
2019-06-03 16:00:08 +02:00
2020-05-19 14:11:55 +02:00
2022-08-21 15:15:54 +02:00