[Letux-kernel] [PATCH 06/20] fixup! Add clock driver for the JZ4730.

Lubomir Rintel lkundrak at v3.sk
Tue Nov 17 21:57:59 CET 2020


The UHC mux is already called "uhc" -- use a different name for the
input clock.

  [    0.000000] ingenic_register_clock: failed to register clock 'uhc' -17

Signed-off-by: Lubomir Rintel <lkundrak at v3.sk>
---
 drivers/clk/ingenic/jz4730-cgu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/ingenic/jz4730-cgu.c b/drivers/clk/ingenic/jz4730-cgu.c
index d1c1e98f34963..da52062263b6f 100644
--- a/drivers/clk/ingenic/jz4730-cgu.c
+++ b/drivers/clk/ingenic/jz4730-cgu.c
@@ -189,7 +189,7 @@ static const struct ingenic_cgu_clk_info jz4730_cgu_clocks[] = {
 	},
 
 	[JZ4730_CLK_UHC_IN] = {
-		"uhc", CGU_CLK_DIV,
+		"uhcdiv", CGU_CLK_DIV,
 		.parents = { JZ4730_CLK_PLL, -1, -1, -1 },
 		.div = { CGU_REG_CFCR, 25, 1, 3, -1, -1, -1 },
 	},
-- 
2.28.0



More information about the Letux-kernel mailing list