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

Commit 34c3c1c4 authored by Bruce Levy's avatar Bruce Levy
Browse files

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: default avatarBruce Levy <blevy@codeaurora.org>
parent 5f300da0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2172,6 +2172,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 (me->channel[cid].ssrcount !=
				 me->channel[cid].prevssrcount) {
			me->channel[cid].prevssrcount =