[PATCH] clk: ralink: mtmips: remove duplicated 'xtal' clock for Ralink SoC RT3883

Sergio Paracuellos posted 1 patch 11 months, 2 weeks ago
drivers/clk/ralink/clk-mtmips.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] clk: ralink: mtmips: remove duplicated 'xtal' clock for Ralink SoC RT3883
Posted by Sergio Paracuellos 11 months, 2 weeks ago
Ralink SoC RT3883 has already 'xtal' defined as a base clock so there is no
need to redefine it again in fixed clocks section. Hence, remove the duplicate
one from there.

Fixes: d34db686a3d7 ("clk: ralink: mtmips: fix clocks probe order in oldest ralink SoCs")
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/clk/ralink/clk-mtmips.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/clk/ralink/clk-mtmips.c b/drivers/clk/ralink/clk-mtmips.c
index 76285fbbdeaa..4b5d8b741e4e 100644
--- a/drivers/clk/ralink/clk-mtmips.c
+++ b/drivers/clk/ralink/clk-mtmips.c
@@ -264,7 +264,6 @@ static int mtmips_register_pherip_clocks(struct device_node *np,
 	}
 
 static struct mtmips_clk_fixed rt3883_fixed_clocks[] = {
-	CLK_FIXED("xtal", NULL, 40000000),
 	CLK_FIXED("periph", "xtal", 40000000)
 };
 
-- 
2.25.1
Re: [PATCH] clk: ralink: mtmips: remove duplicated 'xtal' clock for Ralink SoC RT3883
Posted by Stephen Boyd 11 months, 1 week ago
Quoting Sergio Paracuellos (2025-01-08 01:36:36)
> Ralink SoC RT3883 has already 'xtal' defined as a base clock so there is no
> need to redefine it again in fixed clocks section. Hence, remove the duplicate
> one from there.
> 
> Fixes: d34db686a3d7 ("clk: ralink: mtmips: fix clocks probe order in oldest ralink SoCs")
> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
> ---

Applied to clk-next