Canceling the nop descriptor timer in case we eventually do send an EOT packet since we cross the threshold Change-Id: Ifcf8615c19cf8ce36a2198d214c7c7ff68501e43 Acked-by: Tal Gelbard <[email protected]> Signed-off-by: Amir Levy <[email protected]>
@@ -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;
}