commit | 33fb691b3ea4aca6cab4867e09ea2726c784660a | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Wed Sep 24 10:46:46 2014 -0500 |
committer | Felipe Balbi <balbi@ti.com> | Mon Oct 20 15:58:48 2014 -0500 |
tree | df3a6e395d77c0e09b971836f0cafdfb1d7293fc | |
parent | 4ac4fc9322b1a33f8266f2091dd5ee74a78ff4f8 [diff] |
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>