[PATCH 3/6] clk: at91: fix clk-main

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Following warning was reported during boot with
at91sam9263ek with DT enabled.

    "Main crystal frequency not set, using approximate value"

This occured due to a missing parent in clk_rm9200_main.

Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx>
Cc: Andrey Smirnov <andrew.smirnov@xxxxxxxxx>
---
 drivers/clk/at91/clk-main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/at91/clk-main.c b/drivers/clk/at91/clk-main.c
index 55bc618a3..77dfdef51 100644
--- a/drivers/clk/at91/clk-main.c
+++ b/drivers/clk/at91/clk-main.c
@@ -391,6 +391,7 @@ at91_clk_register_rm9200_main(struct regmap *regmap,
 
 	clkmain = xzalloc(sizeof(*clkmain));
 
+	clkmain->parent = parent_name;
 	clkmain->clk.name = name;
 	clkmain->clk.ops = &rm9200_main_ops;
 	clkmain->clk.parent_names = &clkmain->parent;
-- 
2.12.0


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux