summaryrefslogtreecommitdiff
path: root/drivers/usb/core
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2022-05-12 01:04:47 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-12 18:32:25 +0200
commit25355e046d295bc15bb0d235eff019da67e245d3 (patch)
tree8b7cf489e815e617965d6fe72d8c20fd8287707f /drivers/usb/core
parent4736ebd7fcaff1eb8481c140ba494962847d6e0a (diff)
downloadlwn-25355e046d295bc15bb0d235eff019da67e245d3.tar.gz
lwn-25355e046d295bc15bb0d235eff019da67e245d3.zip
xhci: use generic command timer for stop endpoint commands.
The 'stop endpoint' command timer was started when a 'stop endpoint' command was added to the command queue. This can trigger unwanted timeouts if there are several pending commands in the queue that xHC needs to handle first. The generic command timer, which was added later than the 'stop endpoint' timeout timer, times each command currently being handled by xHC hardware. A timed out stop endpoint command was treated as a more severe issue than other failed commands, so the separate stop endpoint timer was left unchanged. Use the generic command timer for stop endpoint commands. Identify if the timed out command was a stop endpoint command in the generic handler, and treat it with the same severity as earlier. Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Link: https://lore.kernel.org/r/20220511220450.85367-7-mathias.nyman@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/core')
0 files changed, 0 insertions, 0 deletions