summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2026-08-06 17:20:59 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-08-14 10:26:40 +0900
commite3d757dc9257f2638ca61eda4faef26c2daeea10 (patch)
tree2ae4a45304842a17540ce5950ee42ab6afce11e7 /include/linux
parentb08d153c95f1164093b14b8656bfcf4b6e1b0835 (diff)
xhci: include all root port children in recovery prevention on link error
Driver already prevents useless transfer retry and endpoint recovery for devices directly connected to a root port with link errors. These devices are either disconnecting or will be reset. Link is gone. Move the flag indicating link error from the xhci device structure to the root port strucure, allowing all child devices behind hubs to easily check for root port link errors, avoiding useless transfer retries and endpoint recovery. This extends the previous endpoint recovery prevention in commit b8c3b718087b ("usb: xhci: Don't try to recover an endpoint if port is in error state.") Only root port link errors can be detected early by xhci driver, not link errors between external hubs and their children. Tested-by: Xu Rao <raoxu@uniontech.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Link: https://patch.msgid.link/20260806142113.2436238-4-mathias.nyman@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions