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

Commit c9d8c3c9 authored by Ashok Vuyyuru's avatar Ashok Vuyyuru
Browse files

msm: ipa3: Assert device if EOB interrupt received on WAN consumer pipe



In some scenario receiving the unexpected EOB interrupt on WAN consumer
pipe, but couldn't find from which source received this packet. Add
changes to assert if EOB interrupt received on WAN consumer pipe.

Change-Id: I28c32ef811b0354adff616563c6ef550d859d0c5
Signed-off-by: default avatarAshok Vuyyuru <avuyyuru@codeaurora.org>
parent f7c185c2
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -3042,6 +3042,13 @@ static struct sk_buff *handle_skb_completion(struct gsi_chan_xfer_notify
		return NULL;
	}

	/*Assesrt when WAN consumer channel receive EOB event*/
	if (notify->evt_id == GSI_CHAN_EVT_EOB &&
		sys->ep->client == IPA_CLIENT_APPS_WAN_CONS) {
		IPAERR("EOB event received on WAN consumer channel\n");
		ipa_assert();
	}

	head = &rx_pkt->sys->pending_pkts[notify->veid];

	INIT_LIST_HEAD(&rx_pkt->link);