Files
android_kernel_xiaomi_sm8450/drivers/usb/gadget/function
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
..
2017-01-02 10:55:28 +02:00
2016-12-25 17:21:22 +01:00
2014-11-06 16:18:19 -06:00
2015-08-06 09:35:20 -05:00