From c283c8adebd85b4ec6cf4f241a7f451670b61140 Mon Sep 17 00:00:00 2001 From: Minghao Xue Date: Sat, 17 Apr 2021 12:19:57 +0800 Subject: [PATCH] char: virtio_fastrpc: add support for cdsp1 add one more domain id for cdsp1 used by direwolf lv gvm. Change-Id: I4fc104d25aae566876c3652c335e54d1d92327fc Signed-off-by: Minghao Xue --- drivers/char/virtio_fastrpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/virtio_fastrpc.c b/drivers/char/virtio_fastrpc.c index 0bb0fbb8b980..e97541f749b8 100644 --- a/drivers/char/virtio_fastrpc.c +++ b/drivers/char/virtio_fastrpc.c @@ -40,7 +40,7 @@ /* indicates smmu passthrough is supported */ #define VIRTIO_FASTRPC_F_SMMU_PASSTHROUGH 5 -#define NUM_CHANNELS 4 /* adsp, mdsp, slpi, cdsp*/ +#define NUM_CHANNELS 5 /* adsp, mdsp, slpi, cdsp0, cdsp1*/ #define NUM_DEVICES 2 /* adsprpc-smd, adsprpc-smd-secure */ #define M_FDLIST 16 #define MINOR_NUM_DEV 0