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

Commit 2c8b42b7 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: gadget: Handle disconnect correctly during composition switch."

parents d3d6248c 12e051de
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1980,7 +1980,8 @@ static int dwc3_gadget_pullup(struct usb_gadget *g, int is_on)

	spin_unlock_irqrestore(&dwc->lock, flags);

	pm_runtime_put_noidle(dwc->dev);
	pm_runtime_mark_last_busy(dwc->dev);
	pm_runtime_put_autosuspend(dwc->dev);
	dbg_event(0xFF, "Pullup put",
		atomic_read(&dwc->dev->power.usage_count));