usb: dwc3: ep0: hold our lock in dwc3_gadget_ep0_set_halt
authorFelipe Balbi <balbi@ti.com>
Wed, 24 Sep 2014 15:46:46 +0000 (10:46 -0500)
committerFelipe Balbi <balbi@ti.com>
Mon, 20 Oct 2014 20:58:48 +0000 (15:58 -0500)
commit33fb691b3ea4aca6cab4867e09ea2726c784660a
treedf3a6e395d77c0e09b971836f0cafdfb1d7293fc
parent4ac4fc9322b1a33f8266f2091dd5ee74a78ff4f8
usb: dwc3: ep0: hold our lock in dwc3_gadget_ep0_set_halt

dwc3_gadget_ep0_set_halt() will be called without
locks held in some cases, so we must hold the lock
on our own. While at that, also add a version without
locks to be called in certain conditions.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/ep0.c
drivers/usb/dwc3/gadget.h
This page took 0.025596 seconds and 5 git commands to generate.