mailbox: fix gce_num of mt8192 driver data
authorjason-jh.lin <jason-jh.lin@mediatek.com>
Thu, 23 Dec 2021 14:51:55 +0000 (22:51 +0800)
committerJassi Brar <jaswinder.singh@linaro.org>
Wed, 12 Jan 2022 05:47:32 +0000 (23:47 -0600)
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@mediatek.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/mtk-cmdq-mailbox.c

index a8845b162dbfa0f81845da13d59c1cc4f775bc37..9aae13e9e050e8b9c72518d97de460c0351ba945 100644 (file)
@@ -658,7 +658,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 = {