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)
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

Simple merge
Simple merge