diff options
author | Mathias Nyman <[email protected]> | 2022-11-30 11:19:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-11-30 12:10:48 +0100 |
commit | a1575120972ecd7baa6af6a69e4e7ea9213bde7c (patch) | |
tree | dc5f64e7f0771163d10eb636cb80ebaed9110ba4 /lib/mpi/mpiutil.c | |
parent | c3bbacd61baace2f4fbab17012c3d149df2d50f1 (diff) |
xhci: Prevent infinite loop in transaction errors recovery for streams
Make sure to also limit the amount of soft reset retries for transaction
errors on streams in cases where the transaction error event doesn't point
to any specific TRB.
In these cases we don't know the TRB or stream ring, but we do know which
endpoint had the error.
To keep error counting simple and functional, move the current err_count
from ring structure to endpoint structure.
Cc: [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/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions