From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from asavdk3.altibox.net ([109.247.116.14]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dXwPV-0001La-Ug for barebox@lists.infradead.org; Wed, 19 Jul 2017 21:21:40 +0000 From: Sam Ravnborg Date: Wed, 19 Jul 2017 23:21:01 +0200 Message-Id: <20170719212104.2613-3-sam@ravnborg.org> In-Reply-To: <20170719212013.GA1675@ravnborg.org> References: <20170719212013.GA1675@ravnborg.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 3/6] clk: at91: fix clk-main To: Barebox List Cc: Andrey Smirnov , Sam Ravnborg 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 Cc: Andrey Smirnov --- 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@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox