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

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

Merge "msm: ipa3: Vote to IPA clocks when destroying MHI channels"

parents 0a2a4a34 92180312
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -629,6 +629,8 @@ int ipa3_mhi_destroy_channel(enum ipa_client_type client)
	}
	ep = &ipa3_ctx->ep[ipa_ep_idx];

	IPA_ACTIVE_CLIENTS_INC_EP(client);

	IPA_MHI_DBG("reset event ring (hdl: %lu, ep: %d)\n",
		ep->gsi_evt_ring_hdl, ipa_ep_idx);

@@ -650,8 +652,10 @@ int ipa3_mhi_destroy_channel(enum ipa_client_type client)
		goto fail;
	}

	IPA_ACTIVE_CLIENTS_DEC_EP(client);
	return 0;
fail:
	IPA_ACTIVE_CLIENTS_DEC_EP(client);
	return res;
}