]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: dwc3: gadget: hold the lock through set_wedge()'s life
authorFelipe Balbi <balbi@ti.com>
Wed, 24 Sep 2014 15:50:14 +0000 (10:50 -0500)
committerFelipe Balbi <balbi@ti.com>
Mon, 20 Oct 2014 20:58:48 +0000 (15:58 -0500)
commit95aa4e8d658778f787e2ce205d3018443d027477
treece5b16094ff79a56f449ddef52ed4959011e5064
parent5ad02fb813a9d8f39af1ccb1f2166cc80fd76f09
usb: dwc3: gadget: hold the lock through set_wedge()'s life

Instead of releasing the lock and calling locked
versions of our set_halt() methods, let's hold
the lock all the way through and call unlocked
versions of those functions.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c