Re: [PATCH 1/1] usb: xhci: fix spinlock recursion for USB2 test mode

2017-07-20 Thread Mathias Nyman
On 19.07.2017 10:28, Peter Chen wrote: 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: Fixes: 0f1d832ed1fb ("usb: xhci: Add port test modes support for u

[PATCH 1/1] usb: xhci: fix spinlock recursion for USB2 test mode

2017-07-19 Thread Peter Chen
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: Fixes: 0f1d832ed1fb ("usb: xhci: Add port test modes support for usb2") Signed-off-by: Peter Chen --- dri