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

Commit 29493340 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: qdss: Fix runtime PM usage count for multiple set_alt"

parents d82af2c3 81cef8ad
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -698,7 +698,7 @@ static int qdss_set_alt(struct usb_function *f, unsigned int intf,
		goto fail1;
	}

	if (intf == qdss->data_iface_id) {
	if (intf == qdss->data_iface_id && !qdss->data_enabled) {
		/* Increment usage count on connect */
		usb_gadget_autopm_get_async(qdss->gadget);