diff options
| author | Michal Pecio <michal.pecio@gmail.com> | 2026-10-09 18:16:19 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-10-11 15:50:49 +0200 |
| commit | 535faefca4029de000a4f76b7025e683e918f413 (patch) | |
| tree | 00153e6e6cc9016ec0e5c334bd487acd343de612 /scripts/Makefile.thinlto | |
| parent | 47f4e983b5de7616fb11d5f537fc9a605387d136 (diff) | |
usb: xhci: Guarantee URB giveback on Ring Underrun/Overrun
In this case we know that the xHC has released ownership of all missed
TDs, we only don't know which were missed and which were queued later.
URBs are queued atomically, so we can safely give back all TDs of the
currently executing URB. Unlike the previous policy, this does actually
ensure that the class driver will learn about the error and won't see
all of its URBs still in progress when all TDs are missed on xHCI 1.0.
Signed-off-by: Michal Pecio <michal.pecio@gmail.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://patch.msgid.link/20261009151624.618967-7-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
