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

Commit ec17a7f3 authored by Amir Levy's avatar Amir Levy Committed by Gerrit - the friendly Code Review server
Browse files

msm: ipa: cancel timer after EOT packet sent



Canceling the nop descriptor timer in case we eventually
do send an EOT packet since we cross the threshold

Change-Id: Ifcf8615c19cf8ce36a2198d214c7c7ff68501e43
Acked-by: default avatarTal Gelbard <tgelbard@qti.qualcomm.com>
Signed-off-by: default avatarAmir Levy <alevy@codeaurora.org>
parent 557c185a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -534,6 +534,8 @@ int ipa3_send(struct ipa3_sys_context *sys,
					GSI_XFER_FLAG_EOT;
				gsi_xfer[i].flags |=
					GSI_XFER_FLAG_BEI;
				hrtimer_try_to_cancel(&sys->db_timer);
				sys->nop_pending = false;
			} else {
				send_nop = true;
			}