summaryrefslogtreecommitdiff
path: root/drivers/ide/triflex.c
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2021-01-29 15:00:43 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-29 14:16:52 +0100
commit51ee4a84300200c51303ef15b84981b2edb6ec47 (patch)
treef195d5f4b2d4738e8118215b46823d1a01e28d1e /drivers/ide/triflex.c
parent741eafb3457ca3c5159e01809a3fd7c754079d25 (diff)
xhci: Check for pending reset endpoint command before queueing a new one.
A halted endpoint can be detected both when transfer events complete, and in stop endpoint command completion. Both these handlers will start clearing up the halted endpoint and queue a reset endpoint command. It's possible to get both events for the same halted endpoint if right after a URB cancel queues a stop endpoint command the endpoint stalls. Use the EP_HALTED flag to prevent resetting the endpoint twice. Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Link: https://lore.kernel.org/r/20210129130044.206855-27-mathias.nyman@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ide/triflex.c')
0 files changed, 0 insertions, 0 deletions