linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] mailbox: fix gce_num of mt8192 driver data
@ 2021-12-23 14:51 jason-jh.lin
  2021-12-28 14:58 ` Matthias Brugger
  0 siblings, 1 reply; 2+ messages in thread
From: jason-jh.lin @ 2021-12-23 14:51 UTC (permalink / raw)
  To: Jassi Brar, Chun-Kuang Hu, Matthias Brugger, tzungbi, Yongqiang Niu
  Cc: linux-kernel, devicetree, linux-arm-kernel, linux-mediatek,
	jason-jh.lin, nancy.lin, singo.chang

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>
---
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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] mailbox: fix gce_num of mt8192 driver data
  2021-12-23 14:51 [PATCH v2] mailbox: fix gce_num of mt8192 driver data jason-jh.lin
@ 2021-12-28 14:58 ` Matthias Brugger
  0 siblings, 0 replies; 2+ messages in thread
From: Matthias Brugger @ 2021-12-28 14:58 UTC (permalink / raw)
  To: jason-jh.lin, Jassi Brar, Chun-Kuang Hu, tzungbi, Yongqiang Niu
  Cc: linux-kernel, devicetree, linux-arm-kernel, linux-mediatek,
	nancy.lin, singo.chang



On 23/12/2021 15:51, jason-jh.lin wrote:
> 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>

> ---
> 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 = {
> 

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-28 15:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-23 14:51 [PATCH v2] mailbox: fix gce_num of mt8192 driver data jason-jh.lin
2021-12-28 14:58 ` Matthias Brugger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).