summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTharun Kumar Merugu <mtharu@codeaurora.org>2017-03-21 16:03:03 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-04-03 10:28:16 -0700
commit0698c1003780434e5d368daf37bcebbb07f3581d (patch)
tree7761b45dff8fbfdf42f86d6e2343175d169c6cce
parentf9aee28de6ea082f5ea588ea9865320cd905f65f (diff)
msm: ADSPRPC: Initialize the list for global gfa maps
List initialization for global gfa remote heap maps is missing. Initializing the same. Change-Id: Ibe479a0ccc8b829919f5ce92f7ac2f868a546736 Acked-by: Himateja Reddy <hmreddy@qti.qualcomm.com> Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
-rw-r--r--drivers/char/adsprpc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/adsprpc.c b/drivers/char/adsprpc.c
index e0106a7e31fa..e815aad05a19 100644
--- a/drivers/char/adsprpc.c
+++ b/drivers/char/adsprpc.c
@@ -1413,6 +1413,7 @@ static void fastrpc_init(struct fastrpc_apps *me)
{
int i;
INIT_HLIST_HEAD(&me->drivers);
+ INIT_HLIST_HEAD(&me->maps);
spin_lock_init(&me->hlock);
mutex_init(&me->smd_mutex);
me->channel = &gcinfo[0];