aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpiutil.c
diff options
context:
space:
mode:
authorMathias Nyman <[email protected]>2024-06-26 15:48:28 +0300
committerGreg Kroah-Hartman <[email protected]>2024-06-27 16:08:05 +0200
commit21b224d7475751a398dfb811e4f987671ef37ade (patch)
treeba026b39c48c1d78ead79ad08686ef58b1d91ad7 /lib/crypto/mpi/mpiutil.c
parentbde66d2dc4885241acdab811deebf5f93cc8378e (diff)
xhci: rework xhci internal endpoint halt state detection.
When xhci_requires_manual_halt_cleanup() was written it wasn't clear that the xhci internal endpoint halt state always needs to be cleared with a reset endpoint command. Functional stall cases additionally halt the device side endpoint which requires class driver to clear the device side halt with a CLEAR_FEATURE(ENDPOINT_HALT) request as well. Clean up, rename, and make sure the new function always return true when internal endpoint state is halted, including stall cases. Based on related cleanup suggestion code by Niklas Neronin cc: Niklas Neronin <[email protected]> Signed-off-by: Mathias Nyman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions