summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc2
diff options
context:
space:
mode:
authorKrzysztof Opasiak <kopasiak90@gmail.com>2017-01-19 18:55:29 +0100
committerFelipe Balbi <felipe.balbi@linux.intel.com>2017-01-24 11:04:18 +0200
commit33e4c1a9987a1fc3b42c3b534100b5b006d55c61 (patch)
treee23f03736fee171f5674698af24372ccd941445f /drivers/usb/dwc2
parentaa65d11aa008f4de58a9cee7e121666d9d68505e (diff)
downloadlinux-stable-33e4c1a9987a1fc3b42c3b534100b5b006d55c61.tar.gz
linux-stable-33e4c1a9987a1fc3b42c3b534100b5b006d55c61.tar.bz2
linux-stable-33e4c1a9987a1fc3b42c3b534100b5b006d55c61.zip
usb: gadget: f_hid: Use spinlock instead of mutex
As IN request has to be allocated in set_alt() and released in disable() we cannot use mutex to protect it as we cannot sleep in those funcitons. Let's replace this mutex with a spinlock. Cc: stable@vger.kernel.org Tested-by: David Lechner <david@lechnology.com> Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc2')
0 files changed, 0 insertions, 0 deletions