Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3cec3d7 authored by Kyle Yan's avatar Kyle Yan Committed by Gerrit - the friendly Code Review server
Browse files

Merge "dwc3: gadget: Fix spinlock recursive issue" into msm-4.8

parents fc24d31c bb7c0d55
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2084,7 +2084,7 @@ static int dwc3_gadget_stop(struct usb_gadget *g)
	spin_lock_irqsave(&dwc->lock, flags);
	__dwc3_gadget_stop(dwc);
	dwc->gadget_driver = NULL;
	spin_lock_irqsave(&dwc->lock, flags);
	spin_unlock_irqrestore(&dwc->lock, flags);

	pm_runtime_mark_last_busy(dwc->dev);
	pm_runtime_put_autosuspend(dwc->dev);