OSDN Git Service

usb: xhci: lock mutex on xhci_stop
authorRoger Quadros <rogerq@ti.com>
Mon, 21 Sep 2015 14:46:12 +0000 (17:46 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Sep 2015 05:48:53 +0000 (22:48 -0700)
commit85ac90f8953a58f6a057b727bc9db97721e3fb8e
tree6351a1f324c9750530f4acfebfb1f7914cd32080
parent2b7627b73e81e5d23d5ae1490fe8e690af86e053
usb: xhci: lock mutex on xhci_stop

Else it races with xhci_setup_device

Cc: <stable@vger.kernel.org>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci.c