linux-stable/drivers/usb/gadget
Krzysztof Opasiak 33e4c1a998 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>
2017-01-24 11:04:18 +02:00
..
function usb: gadget: f_hid: Use spinlock instead of mutex 2017-01-24 11:04:18 +02:00
legacy usb: gadget: printer: Remove pnp_string static buffer 2017-01-24 11:04:08 +02:00
udc usb: gadget: constify usb_gadget_ops structures 2017-01-24 11:04:09 +02:00
composite.c usb: gadget: composite: Test get_alt() presence instead of set_alt() 2017-01-02 10:55:28 +02:00
config.c
configfs.c fs: configfs: don't return anything from drop_link 2016-12-01 10:50:49 +01:00
configfs.h
epautoconf.c
functions.c
Kconfig usb: gadget: uvc: add V4L2 dependency 2016-09-13 09:29:08 +03:00
Makefile
u_f.c usb: gadget: remove useless parameter in alloc_ep_req() 2016-08-25 12:13:19 +03:00
u_f.h usb: gadget: remove useless parameter in alloc_ep_req() 2016-08-25 12:13:19 +03:00
u_os_desc.h
usbstring.c