From 3c6901ee67185c846d4ee21f4b50c217912ba7c7 Mon Sep 17 00:00:00 2001 From: Sathish Ambley Date: Fri, 10 Feb 2017 18:55:18 -0800 Subject: [PATCH] msm: ADSPRPC: Set the device node in the session context Set the device node associated with the session while creating the context to allow for dma operations. Change-Id: I7937a7bd533a9be09453144e20f7ecca3f3cc0ef Signed-off-by: Sathish Ambley --- drivers/char/adsprpc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/char/adsprpc.c b/drivers/char/adsprpc.c index 0345e977a2d4..88bd6afdeea5 100644 --- a/drivers/char/adsprpc.c +++ b/drivers/char/adsprpc.c @@ -1981,6 +1981,7 @@ static int fastrpc_session_alloc_locked(struct fastrpc_channel_ctx *chan, if (err) goto bail; chan->session[0].dev = me->dev; + chan->session[0].smmu.dev = me->dev; } *session = &chan->session[idx];