[PATCH v2] mailbox: fix gce_num of mt8192 driver data
jason-jh.lin
jason-jh.lin at mediatek.com
Thu Dec 23 06:51:55 PST 2021
Because mt8192 only have 1 gce, the gce_num should be 1.
Fixes: 85dfdbfc13ea ("mailbox: cmdq: add multi-gce clocks support for mt8195")
Signed-off-by: jason-jh.lin <jason-jh.lin at mediatek.com>
---
Change in v2:
- fix tilte tag from cmdq to mailbox
- rebase on kernel-5.16
---
drivers/mailbox/mtk-cmdq-mailbox.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mailbox/mtk-cmdq-mailbox.c b/drivers/mailbox/mtk-cmdq-mailbox.c
index 1faf35e8aff0..2895484f8349 100644
--- a/drivers/mailbox/mtk-cmdq-mailbox.c
+++ b/drivers/mailbox/mtk-cmdq-mailbox.c
@@ -650,7 +650,7 @@ static const struct gce_plat gce_plat_v5 = {
.thread_nr = 24,
.shift = 3,
.control_by_sw = true,
- .gce_num = 2
+ .gce_num = 1
};
static const struct gce_plat gce_plat_v6 = {
--
2.18.0
More information about the linux-arm-kernel
mailing list