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

Commit 8b8961d7 authored by Mohammed Javid's avatar Mohammed Javid
Browse files

msm: ipa4: Removing the spin lock in irq context



In IRQ context head_desc_list protection was not required.
Removing the spin lock from IRQ context.

Change-Id: I37b0c69a97a2ce8b9bdba88b33c987bd19c76082
Acked-by: default avatarAshok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: default avatarMohammed Javid <mjavid@codeaurora.org>
parent 418f4a45
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -3560,10 +3560,8 @@ static void ipa_gsi_irq_rx_notify_cb(struct gsi_chan_xfer_notify *notify)
	IPADBG_LOW("event %d notified\n", notify->evt_id);

	sys = (struct ipa3_sys_context *)notify->chan_user_data;
	spin_lock(&sys->spinlock);
	rx_pkt_expected = list_first_entry(&sys->head_desc_list,
					   struct ipa3_rx_pkt_wrapper, link);
	spin_unlock(&sys->spinlock);
	rx_pkt_rcvd = (struct ipa3_rx_pkt_wrapper *)notify->xfer_user_data;

	if (rx_pkt_expected != rx_pkt_rcvd) {