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

Commit ff6f0126 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ipa4: Removing the spin lock in irq context"

parents 07f28032 8b8961d7
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line 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);
	IPADBG_LOW("event %d notified\n", notify->evt_id);


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


	if (rx_pkt_expected != rx_pkt_rcvd) {
	if (rx_pkt_expected != rx_pkt_rcvd) {