clk: mediatek: add MUX_GATE_FLAGS_2
Add MUX_GATE_FLAGS_2 for the clock which needs to set two falgs. Such as some mux need to set the flags of "CLK_MUX_ROUND_CLOSEST". Signed-off-by: chunhui dai <chunhui.dai@mediatek.com> Signed-off-by: wangyan wang <wangyan.wang@mediatek.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Cette révision appartient à :

révisé par
Stephen Boyd

Parent
bfeffd1552
révision
b026a7eca1
@@ -167,7 +167,7 @@ struct clk *mtk_clk_register_composite(const struct mtk_composite *mc,
|
||||
mux->mask = BIT(mc->mux_width) - 1;
|
||||
mux->shift = mc->mux_shift;
|
||||
mux->lock = lock;
|
||||
|
||||
mux->flags = mc->mux_flags;
|
||||
mux_hw = &mux->hw;
|
||||
mux_ops = &clk_mux_ops;
|
||||
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur