From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k8U1i-0000Bs-Kr for barebox@lists.infradead.org; Wed, 19 Aug 2020 19:45:39 +0000 From: Sascha Hauer Date: Wed, 19 Aug 2020 21:45:07 +0200 Message-Id: <20200819194511.14005-3-s.hauer@pengutronix.de> In-Reply-To: <20200819194511.14005-1-s.hauer@pengutronix.de> References: <20200819194511.14005-1-s.hauer@pengutronix.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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/7] clk: imx-cpu: Add missing CLK_IS_CRITICAL To: Barebox List The CPU clock should never be disabled, mark it as critical as done in the Kernel. Signed-off-by: Sascha Hauer --- drivers/clk/imx/clk-cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-cpu.c b/drivers/clk/imx/clk-cpu.c index 13b2dfc9ad..f8d54ddba3 100644 --- a/drivers/clk/imx/clk-cpu.c +++ b/drivers/clk/imx/clk-cpu.c @@ -100,7 +100,7 @@ struct clk *imx_clk_cpu(const char *name, const char *parent_name, cpu->clk.name = name; cpu->clk.ops = &clk_cpu_ops; - cpu->clk.flags = 0; + cpu->clk.flags = CLK_IS_CRITICAL; cpu->clk.parent_names = &icpu->parent_name; cpu->clk.num_parents = 1; -- 2.28.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox