usb: dwc3: gadget: release spin lock during gadget resume
authorJiebing Li <jiebing.li@intel.com>
Thu, 11 Dec 2014 05:26:29 +0000 (13:26 +0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 29 Mar 2016 06:30:31 +0000 (09:30 +0300)
commitad14d4e0308afda06a60036020a15025571604af
treed6d4c8fed5984f1ebb7e0b09f03743d3464bb674
parentf59dcab176293b646e1358144c93c58c3cda2813
usb: dwc3: gadget: release spin lock during gadget resume

It's a requirement that we release controller's lock
while calling gadget API function pointers. This
patch just fixes that long standing bug.

Signed-off-by: Jiebing Li <jiebing.li@intel.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/gadget.c