Skip to content

Commit 1959ab9

Browse files
abelvesagregkh
authored andcommitted
misc: fastrpc: Rename audio protection domain to root
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>
1 parent 70aa0a5 commit 1959ab9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/misc/fastrpc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
#define FASTRPC_RMID_INIT_MEM_UNMAP 11
8484

8585
/* Protection Domain(PD) ids */
86-
#define AUDIO_PD (0) /* also GUEST_OS PD? */
86+
#define ROOT_PD (0)
8787
#define USER_PD (1)
8888
#define SENSORS_PD (2)
8989

@@ -1886,7 +1886,7 @@ static long fastrpc_device_ioctl(struct file *file, unsigned int cmd,
18861886
err = fastrpc_invoke(fl, argp);
18871887
break;
18881888
case FASTRPC_IOCTL_INIT_ATTACH:
1889-
err = fastrpc_init_attach(fl, AUDIO_PD);
1889+
err = fastrpc_init_attach(fl, ROOT_PD);
18901890
break;
18911891
case FASTRPC_IOCTL_INIT_ATTACH_SNS:
18921892
err = fastrpc_init_attach(fl, SENSORS_PD);

0 commit comments

Comments
 (0)