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

Commit 4356008a authored by Andrei Danaila's avatar Andrei Danaila
Browse files

mhi: core: Reduce interrupt moderation to 1ms



Reduce interrupt moderation for both inbound and outbound
hardware channels to 1ms, for improved latency response to
device acknowledgements.

CRs-Fixed: 782801
Change-Id: Id0717582d88dcfc12a8711f983da59a8f651b6d3
Signed-off-by: default avatarAndrei Danaila <adanaila@codeaurora.org>
parent eecc1135
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
/* Copyright (c) 2014, The Linux Foundation. All rights reserved.
/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -409,10 +409,10 @@ static enum MHI_STATUS mhi_init_contexts(struct mhi_device_ctxt *mhi_dev_ctxt)
					msi_vec);
		switch (i) {
		case IPA_OUT_EV_RING:
			intmod_t = 10;
			intmod_t = 1;
			break;
		case IPA_IN_EV_RING:
			intmod_t = 6;
			intmod_t = 1;
			break;
		}
		event_ring_index = mhi_dev_ctxt->alloced_ev_rings[i];