Skip to content

Commit 289ebc4

Browse files
tq-steinabebarino
authored andcommitted
clk: imx8m: Do not set IMX_COMPOSITE_CORE for non-regular composites
Only imx8m_clk_hw_composite_core needs to set this flag. Fixes: a60fe74 ("clk: imx: Rework all imx_clk_hw_composite wrappers") Signed-off-by: Alexander Stein <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Abel Vesa <[email protected]> Tested-by: Adam Ford <[email protected]> #imx8mm-beacon Signed-off-by: Stephen Boyd <[email protected]>
1 parent f45c5b1 commit 289ebc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/clk/imx/clk.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,11 +391,11 @@ struct clk_hw *__imx8m_clk_hw_composite(const char *name,
391391

392392
#define imx8m_clk_hw_composite(name, parent_names, reg) \
393393
_imx8m_clk_hw_composite(name, parent_names, reg, \
394-
IMX_COMPOSITE_CORE, IMX_COMPOSITE_CLK_FLAGS_DEFAULT)
394+
0, IMX_COMPOSITE_CLK_FLAGS_DEFAULT)
395395

396396
#define imx8m_clk_hw_composite_critical(name, parent_names, reg) \
397397
_imx8m_clk_hw_composite(name, parent_names, reg, \
398-
IMX_COMPOSITE_CORE, IMX_COMPOSITE_CLK_FLAGS_CRITICAL)
398+
0, IMX_COMPOSITE_CLK_FLAGS_CRITICAL)
399399

400400
#define imx8m_clk_hw_composite_bus(name, parent_names, reg) \
401401
_imx8m_clk_hw_composite(name, parent_names, reg, \

0 commit comments

Comments
 (0)