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 <alexander.stein@ew.tq-group.com> Link: https://lore.kernel.org/r/20211103123947.3222443-1-alexander.stein@ew.tq-group.com Reviewed-by: Abel Vesa <abel.vesa@nxp.com> Tested-by: Adam Ford <aford173@gmail.com> #imx8mm-beacon Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent f45c5b1 commit 289ebc4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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)