aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci.c
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@nxp.com>2017-07-20 14:48:30 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-20 14:40:36 +0200
commit576d55460e7f209139545a348746c2fcadf61bc3 (patch)
tree53dbbc025a5e4a8d7a426e9ee763daf520b55d89 /drivers/usb/host/xhci.c
parentxhci: fix 20000ms port resume timeout (diff)
downloadlinux-dev-576d55460e7f209139545a348746c2fcadf61bc3.tar.xz
linux-dev-576d55460e7f209139545a348746c2fcadf61bc3.zip
usb: xhci: fix spinlock recursion for USB2 test mode
Both xhci_hub_control and xhci_disable_slot tries to hold spinlock, the spinlock recursion occurs when enters USB2 test mode. Fix it by unlock spinlock before calling xhci_disable_slot. Cc: <stable@vger.kernel.org> Fixes: 0f1d832ed1fb ("usb: xhci: Add port test modes support for usb2") Signed-off-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions