提交 05b43aa2 编写于 作者: J Jerome Brunet 提交者: Michael Turquette

clk: meson: gxbb: mpll: use rw operation

Use read/write operations for the mpll clocks instead of the
read-only ones.
Signed-off-by: NJerome Brunet <jbrunet@baylibre.com>
Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
Link: lkml.kernel.org/r/20170309104154.28295-7-jbrunet@baylibre.com
上级 007e6e5c
...@@ -459,7 +459,7 @@ static struct meson_clk_mpll gxbb_mpll0 = { ...@@ -459,7 +459,7 @@ static struct meson_clk_mpll gxbb_mpll0 = {
.lock = &clk_lock, .lock = &clk_lock,
.hw.init = &(struct clk_init_data){ .hw.init = &(struct clk_init_data){
.name = "mpll0", .name = "mpll0",
.ops = &meson_clk_mpll_ro_ops, .ops = &meson_clk_mpll_ops,
.parent_names = (const char *[]){ "fixed_pll" }, .parent_names = (const char *[]){ "fixed_pll" },
.num_parents = 1, .num_parents = 1,
}, },
...@@ -489,7 +489,7 @@ static struct meson_clk_mpll gxbb_mpll1 = { ...@@ -489,7 +489,7 @@ static struct meson_clk_mpll gxbb_mpll1 = {
.lock = &clk_lock, .lock = &clk_lock,
.hw.init = &(struct clk_init_data){ .hw.init = &(struct clk_init_data){
.name = "mpll1", .name = "mpll1",
.ops = &meson_clk_mpll_ro_ops, .ops = &meson_clk_mpll_ops,
.parent_names = (const char *[]){ "fixed_pll" }, .parent_names = (const char *[]){ "fixed_pll" },
.num_parents = 1, .num_parents = 1,
}, },
...@@ -519,7 +519,7 @@ static struct meson_clk_mpll gxbb_mpll2 = { ...@@ -519,7 +519,7 @@ static struct meson_clk_mpll gxbb_mpll2 = {
.lock = &clk_lock, .lock = &clk_lock,
.hw.init = &(struct clk_init_data){ .hw.init = &(struct clk_init_data){
.name = "mpll2", .name = "mpll2",
.ops = &meson_clk_mpll_ro_ops, .ops = &meson_clk_mpll_ops,
.parent_names = (const char *[]){ "fixed_pll" }, .parent_names = (const char *[]){ "fixed_pll" },
.num_parents = 1, .num_parents = 1,
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册