summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Danaila <adanaila@codeaurora.org>2015-01-16 12:32:40 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:11:09 -0700
commitecc230b4349e79e4a518cb002403beb0043affb2 (patch)
tree94d8d1c12fbe3ca26d41b8c497dab2bc6e45c75f
parent04c4790c271ae2d272f39de103d88a2036b501dd (diff)
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: Andrei Danaila <adanaila@codeaurora.org>
-rw-r--r--drivers/platform/msm/mhi/mhi_init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/platform/msm/mhi/mhi_init.c b/drivers/platform/msm/mhi/mhi_init.c
index 30527d48c9e2..19c673c57a15 100644
--- a/drivers/platform/msm/mhi/mhi_init.c
+++ b/drivers/platform/msm/mhi/mhi_init.c
@@ -1,4 +1,4 @@
-/* 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];