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

Commit 537ec8f6 authored by Skylar Chang's avatar Skylar Chang
Browse files

msm: ipa3: fix event ring allocation for PROD



Do not allocate event ring for non interrupts pipes.
These pipes receive completion from their
status notification pipe.

Change-Id: I9ae96440ed479888e2f974f2143ddd275f8afbb2
Acked-by: default avatarAdy Abraham <adya@qti.qualcomm.com>
Signed-off-by: default avatarSkylar Chang <chiaweic@codeaurora.org>
parent 296d7a30
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3368,8 +3368,8 @@ static int ipa_gsi_setup_channel(struct ipa3_ep_context *ep)
	}

	ep->gsi_evt_ring_hdl = ~0;
	if (ep->client != IPA_CLIENT_APPS_LAN_WAN_PROD
			&& !IPA_CLIENT_IS_MEMCPY_DMA_PROD(ep->client)) {
	/* allocate event ring for all interrupt-policy pipes */
	if (ep->sys->policy != IPA_POLICY_NOINTR_MODE) {
		memset(&gsi_evt_ring_props, 0, sizeof(gsi_evt_ring_props));
		gsi_evt_ring_props.intf = GSI_EVT_CHTYPE_GPI_EV;
		gsi_evt_ring_props.intr = GSI_INTR_IRQ;