diff options
author | Peter Chen <peter.chen@nxp.com> | 2017-07-20 14:48:30 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-20 14:40:36 +0200 |
commit | 576d55460e7f209139545a348746c2fcadf61bc3 (patch) | |
tree | 53dbbc025a5e4a8d7a426e9ee763daf520b55d89 /usr/gen_init_cpio.c | |
parent | a54408d0a004757789863d74e29c2297edae0b4d (diff) |
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 'usr/gen_init_cpio.c')
0 files changed, 0 insertions, 0 deletions