From: Michael Trimarchi <michael@amarulasolutions.com>
Date: Tue, 2 Jul 2024 10:26:18 +0000 (+0200)
Subject: clk: imx: Fix wrong flags assignment clk-composite-93
X-Git-Tag: v2025.01-rc5-pxa1908~421^2~6
X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=a66b2ce6bda1c91754a4a0cfe9ec849a387b279e;p=u-boot.git

clk: imx: Fix wrong flags assignment clk-composite-93

The mux flags (u8), div flags (u8), and gate flags (u8)  are not the clk
flags (unsigned long). They have different meanings

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
---

diff --git a/drivers/clk/imx/clk-composite-93.c b/drivers/clk/imx/clk-composite-93.c
index 2cf20be2cc..61692d34f9 100644
--- a/drivers/clk/imx/clk-composite-93.c
+++ b/drivers/clk/imx/clk-composite-93.c
@@ -102,7 +102,6 @@ struct clk *imx93_clk_composite_flags(const char *name,
 	mux->mask = CCM_MUX_MASK;
 	mux->num_parents = num_parents;
 	mux->parent_names = parent_names;
-	mux->flags = flags;
 
 	div = kzalloc(sizeof(*div), GFP_KERNEL);
 	if (!div)
@@ -119,7 +118,6 @@ struct clk *imx93_clk_composite_flags(const char *name,
 
 	gate->reg = reg;
 	gate->bit_idx = CCM_OFF_SHIFT;
-	gate->flags = flags;
 
 	clk = clk_register_composite(NULL, name,
 				     parent_names, num_parents,