]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
xhci: Use delayed_work instead of timer for command timeout
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Tue, 3 Jan 2017 16:28:50 +0000 (18:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Jan 2017 16:37:32 +0000 (17:37 +0100)
commitcb4d5ce588c5ff68e0fdd30370a0e6bc2c0a736b
tree98abdee5753a0065f68f59cbaa1eee145d31dcc5
parent4dea70778c0f48b4385c7720c363ec8d37a401b4
xhci: Use delayed_work instead of timer for command timeout

This is preparation to fix abort operation race (See "xhci: Fix race
related to abort operation"). To make timeout sleepable, use
delayed_work instead of timer.

[change a newly added pending timer fix to pending work -Mathias]
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mem.c
drivers/usb/host/xhci-ring.c
drivers/usb/host/xhci.h