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

Commit dc169d56 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mhi: core: Reduce interrupt moderation to 1ms"

parents 55246d7b 4356008a
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line 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
 * 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
 * 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);
					msi_vec);
		switch (i) {
		switch (i) {
		case IPA_OUT_EV_RING:
		case IPA_OUT_EV_RING:
			intmod_t = 10;
			intmod_t = 1;
			break;
			break;
		case IPA_IN_EV_RING:
		case IPA_IN_EV_RING:
			intmod_t = 6;
			intmod_t = 1;
			break;
			break;
		}
		}
		event_ring_index = mhi_dev_ctxt->alloced_ev_rings[i];
		event_ring_index = mhi_dev_ctxt->alloced_ev_rings[i];