]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
clk: meson: gxbb: mpll: use rw operation
authorJerome Brunet <jbrunet@baylibre.com>
Thu, 9 Mar 2017 10:41:51 +0000 (11:41 +0100)
committerMichael Turquette <mturquette@baylibre.com>
Mon, 27 Mar 2017 19:30:22 +0000 (12:30 -0700)
Use read/write operations for the mpll clocks instead of the
read-only ones.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
Link: lkml.kernel.org/r/20170309104154.28295-7-jbrunet@baylibre.com

drivers/clk/meson/gxbb.c

index 79fb8989f8dd9ed24b4ffe84629b845e4e398c70..5059c7bbdbb3b2cee8c2494f753f3fd82555a95c 100644 (file)
@@ -459,7 +459,7 @@ static struct meson_clk_mpll gxbb_mpll0 = {
        .lock = &clk_lock,
        .hw.init = &(struct clk_init_data){
                .name = "mpll0",
-               .ops = &meson_clk_mpll_ro_ops,
+               .ops = &meson_clk_mpll_ops,
                .parent_names = (const char *[]){ "fixed_pll" },
                .num_parents = 1,
        },
@@ -489,7 +489,7 @@ static struct meson_clk_mpll gxbb_mpll1 = {
        .lock = &clk_lock,
        .hw.init = &(struct clk_init_data){
                .name = "mpll1",
-               .ops = &meson_clk_mpll_ro_ops,
+               .ops = &meson_clk_mpll_ops,
                .parent_names = (const char *[]){ "fixed_pll" },
                .num_parents = 1,
        },
@@ -519,7 +519,7 @@ static struct meson_clk_mpll gxbb_mpll2 = {
        .lock = &clk_lock,
        .hw.init = &(struct clk_init_data){
                .name = "mpll2",
-               .ops = &meson_clk_mpll_ro_ops,
+               .ops = &meson_clk_mpll_ops,
                .parent_names = (const char *[]){ "fixed_pll" },
                .num_parents = 1,
        },