diff options
author | Jasper Mattsson <jasu@njomotys.info> | 2019-02-14 17:32:30 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-02-26 09:53:39 -0800 |
commit | 5a1cc4c27ad2aa3f988e2d69ce281fd3e8292ce3 (patch) | |
tree | e8780d2b15d30b1c70ecae36e4a1c6c2ad1b1726 /drivers/clk/mediatek/clk-mtk.c | |
parent | 03c4fda603fb48d5bb58cc72906dd592a54e464f (diff) | |
download | linux-5a1cc4c27ad2aa3f988e2d69ce281fd3e8292ce3.tar.bz2 |
clk: mediatek: Add flags to mtk_gate
This is required to mark gates as CLK_IS_CRITICAL.
Signed-off-by: Jasper Mattsson <jasu@njomotys.info>
Acked-by: Mars Cheng <mars.cheng@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.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..ef410413bb0b 100644 --- a/drivers/clk/mediatek/clk-mtk.c +++ b/drivers/clk/mediatek/clk-mtk.c @@ -130,7 +130,7 @@ int mtk_clk_register_gates(struct device_node *node, gate->regs->set_ofs, gate->regs->clr_ofs, gate->regs->sta_ofs, - gate->shift, gate->ops); + gate->shift, gate->ops, gate->flags); if (IS_ERR(clk)) { pr_err("Failed to register clk %s: %ld\n", |