diff options
| author | Tharun Kumar Merugu <mtharu@codeaurora.org> | 2017-08-02 11:26:04 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-08-01 22:59:02 -0700 |
| commit | 25ff5f0b648809d18d4be42e881eaa219022371e (patch) | |
| tree | 3b9ff24595c8ab45d7c2a348ce753698bef3b405 /drivers/char | |
| parent | e29d253ecf0480d4359ce41503741783d803ed6b (diff) | |
msm: ADSPRPC: Queue receive intent for adsprpc glink channel
Queue receive intent for adsprpc glink channel to avoid remote
processor failure to acknowlege first message.
Change-Id: I314099acca71683a36661c0ff6c4a0430653d97e
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
Diffstat (limited to 'drivers/char')
| -rw-r--r-- | drivers/char/adsprpc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/char/adsprpc.c b/drivers/char/adsprpc.c index 781fa96726e2..8560a2b731b5 100644 --- a/drivers/char/adsprpc.c +++ b/drivers/char/adsprpc.c @@ -2500,6 +2500,9 @@ static int fastrpc_channel_open(struct fastrpc_file *fl) kref_init(&me->channel[cid].kref); pr_info("'opened /dev/%s c %d %d'\n", gcinfo[cid].name, MAJOR(me->dev_no), cid); + err = glink_queue_rx_intent(me->channel[cid].chan, NULL, 64); + if (err) + pr_info("adsprpc: initial intent failed for %d\n", cid); if (cid == 0 && me->channel[cid].ssrcount != me->channel[cid].prevssrcount) { if (fastrpc_mmap_remove_ssr(fl)) |
