[PATCH 4/7] clk: meson: gxbb: mpll: use rw operation

2017-02-28 Thread Jerome Brunet
Use read/write operations for the mpll clocks instead of the
read-only ones.

Signed-off-by: Jerome Brunet 
---
 drivers/clk/meson/gxbb.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/clk/meson/gxbb.c b/drivers/clk/meson/gxbb.c
index 6b97f4da1708..a52063f57d00 100644
--- a/drivers/clk/meson/gxbb.c
+++ b/drivers/clk/meson/gxbb.c
@@ -459,7 +459,7 @@ static struct meson_clk_mpll gxbb_mpll0 = {
.lock = _lock,
.hw.init = &(struct clk_init_data){
.name = "mpll0",
-   .ops = _clk_mpll_ro_ops,
+   .ops = _clk_mpll_ops,
.parent_names = (const char *[]){ "fixed_pll" },
.num_parents = 1,
},
@@ -489,7 +489,7 @@ static struct meson_clk_mpll gxbb_mpll1 = {
.lock = _lock,
.hw.init = &(struct clk_init_data){
.name = "mpll1",
-   .ops = _clk_mpll_ro_ops,
+   .ops = _clk_mpll_ops,
.parent_names = (const char *[]){ "fixed_pll" },
.num_parents = 1,
},
@@ -519,7 +519,7 @@ static struct meson_clk_mpll gxbb_mpll2 = {
.lock = _lock,
.hw.init = &(struct clk_init_data){
.name = "mpll2",
-   .ops = _clk_mpll_ro_ops,
+   .ops = _clk_mpll_ops,
.parent_names = (const char *[]){ "fixed_pll" },
.num_parents = 1,
},
-- 
2.9.3



[PATCH 4/7] clk: meson: gxbb: mpll: use rw operation

2017-02-28 Thread Jerome Brunet
Use read/write operations for the mpll clocks instead of the
read-only ones.

Signed-off-by: Jerome Brunet 
---
 drivers/clk/meson/gxbb.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/clk/meson/gxbb.c b/drivers/clk/meson/gxbb.c
index 6b97f4da1708..a52063f57d00 100644
--- a/drivers/clk/meson/gxbb.c
+++ b/drivers/clk/meson/gxbb.c
@@ -459,7 +459,7 @@ static struct meson_clk_mpll gxbb_mpll0 = {
.lock = _lock,
.hw.init = &(struct clk_init_data){
.name = "mpll0",
-   .ops = _clk_mpll_ro_ops,
+   .ops = _clk_mpll_ops,
.parent_names = (const char *[]){ "fixed_pll" },
.num_parents = 1,
},
@@ -489,7 +489,7 @@ static struct meson_clk_mpll gxbb_mpll1 = {
.lock = _lock,
.hw.init = &(struct clk_init_data){
.name = "mpll1",
-   .ops = _clk_mpll_ro_ops,
+   .ops = _clk_mpll_ops,
.parent_names = (const char *[]){ "fixed_pll" },
.num_parents = 1,
},
@@ -519,7 +519,7 @@ static struct meson_clk_mpll gxbb_mpll2 = {
.lock = _lock,
.hw.init = &(struct clk_init_data){
.name = "mpll2",
-   .ops = _clk_mpll_ro_ops,
+   .ops = _clk_mpll_ops,
.parent_names = (const char *[]){ "fixed_pll" },
.num_parents = 1,
},
-- 
2.9.3