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

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

Merge "usb: gsi: Fix runtime PM usage count for MBIM interface"

parents c1940edc 78747c55
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -2481,7 +2481,11 @@ static void gsi_suspend(struct usb_function *f)
		return;
	}

	if (!gsi->data_interface_up) {
	/*
	 * GPS doesn't use any data interface, hence bail out as there is no
	 * GSI specific handling needed.
	 */
	if (gsi->prot_id == USB_PROT_GPS_CTRL) {
		log_event_dbg("%s: suspend done\n", __func__);
		return;
	}
@@ -2515,7 +2519,7 @@ static void gsi_resume(struct usb_function *f)
	/* Check any pending cpkt, and queue immediately on resume */
	gsi_ctrl_send_notification(gsi);

	if (!gsi->data_interface_up) {
	if (gsi->prot_id == USB_PROT_GPS_CTRL) {
		log_event_dbg("%s: resume done\n", __func__);
		return;
	}