OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45ad572
)
msm: ADSPRPC: Set the device node in the session context
author
Sathish Ambley
<sathishambley@codeaurora.org>
Sat, 11 Feb 2017 02:55:18 +0000
(18:55 -0800)
committer
Sathish Ambley
<sathishambley@codeaurora.org>
Sat, 11 Feb 2017 02:55:18 +0000
(18:55 -0800)
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 <sathishambley@codeaurora.org>
drivers/char/adsprpc.c
patch
|
blob
|
history
diff --git
a/drivers/char/adsprpc.c
b/drivers/char/adsprpc.c
index
0345e97
..
88bd6af
100644
(file)
--- 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];