diff options
author | chunhui dai <chunhui.dai@mediatek.com> | 2019-02-25 03:09:09 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-02-25 18:19:32 +0100 |
commit | b026a7eca1a7b1254017835f91438b569bfc4e54 (patch) | |
tree | 71fb345dd38167734d7f607673feeab6b719d5b4 /drivers/clk/mediatek/clk-mtk.c | |
parent | Linux 5.0-rc1 (diff) | |
download | linux-b026a7eca1a7b1254017835f91438b569bfc4e54.tar.xz linux-b026a7eca1a7b1254017835f91438b569bfc4e54.zip |
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>
Diffstat (limited to 'drivers/clk/mediatek/clk-mtk.c')
-rw-r--r-- | drivers/clk/mediatek/clk-mtk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/mediatek/clk-mtk.c b/drivers/clk/mediatek/clk-mtk.c index 9c0ae4278a94..2ed996404804 100644 --- a/drivers/clk/mediatek/clk-mtk.c +++ b/drivers/clk/mediatek/clk-mtk.c @@ -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; |