diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2017-07-27 15:09:39 +0200 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2017-08-04 18:01:59 +0200 |
commit | 004f6f462d4127350fce1a2822d00990baedf3a0 (patch) | |
tree | c820d09ef43ee2a089a860f1bf19bdda0641001d | |
parent | clk: meson: meson8b: register the built-in reset controller (diff) | |
download | linux-004f6f462d4127350fce1a2822d00990baedf3a0.tar.xz linux-004f6f462d4127350fce1a2822d00990baedf3a0.zip |
clk: meson: gxbb: fix meson cts_amclk divider flags
CLK_DIVIDER_ROUND_CLOSEST was incorrectly put in the hw.init flags
while it should have been in the divider flags
Fixes: 4087bd4b2170 ("clk: meson: gxbb: add cts_amclk")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
-rw-r--r-- | drivers/clk/meson/gxbb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/meson/gxbb.c b/drivers/clk/meson/gxbb.c index 8409d86cda24..0bd028adadd5 100644 --- a/drivers/clk/meson/gxbb.c +++ b/drivers/clk/meson/gxbb.c @@ -845,13 +845,14 @@ static struct meson_clk_audio_divider gxbb_cts_amclk_div = { .shift = 0, .width = 8, }, + .flags = CLK_DIVIDER_ROUND_CLOSEST, .lock = &clk_lock, .hw.init = &(struct clk_init_data){ .name = "cts_amclk_div", .ops = &meson_clk_audio_divider_ops, .parent_names = (const char *[]){ "cts_amclk_sel" }, .num_parents = 1, - .flags = CLK_SET_RATE_PARENT | CLK_DIVIDER_ROUND_CLOSEST, + .flags = CLK_SET_RATE_PARENT, }, }; |