projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70aa0a5
)
misc: fastrpc: Rename audio protection domain to root
author
Abel Vesa
<abel.vesa@linaro.org>
Fri, 25 Nov 2022 07:13:57 +0000
(07:13 +0000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 25 Nov 2022 17:45:33 +0000
(18:45 +0100)
The AUDIO_PD will be done via static pd, so the proper name here is
actually ROOT_PD.
Co-developed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link:
https://lore.kernel.org/r/20221125071405.148786-3-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/fastrpc.c
patch
|
blob
|
history
diff --git
a/drivers/misc/fastrpc.c
b/drivers/misc/fastrpc.c
index
7ff0b63
..
f2bda08
100644
(file)
--- a/
drivers/misc/fastrpc.c
+++ b/
drivers/misc/fastrpc.c
@@
-83,7
+83,7
@@
#define FASTRPC_RMID_INIT_MEM_UNMAP 11
/* Protection Domain(PD) ids */
-#define
AUDIO_PD (0) /* also GUEST_OS PD? */
+#define
ROOT_PD (0)
#define USER_PD (1)
#define SENSORS_PD (2)
@@
-1886,7
+1886,7
@@
static long fastrpc_device_ioctl(struct file *file, unsigned int cmd,
err = fastrpc_invoke(fl, argp);
break;
case FASTRPC_IOCTL_INIT_ATTACH:
- err = fastrpc_init_attach(fl,
AUDIO
_PD);
+ err = fastrpc_init_attach(fl,
ROOT
_PD);
break;
case FASTRPC_IOCTL_INIT_ATTACH_SNS:
err = fastrpc_init_attach(fl, SENSORS_PD);