Skip to content

Commit

Permalink
ASoC: ak4642: Remove CLK_IS_ROOT
Browse files Browse the repository at this point in the history
This flag is a no-op now (see commit 47b0eeb "clk: Deprecate
CLK_IS_ROOT", 2016-02-02) so remove it.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Stephen Boyd authored and Mark Brown committed Apr 20, 2016
1 parent f55532a commit b6bf328
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions sound/soc/codecs/ak4642.c
Original file line number Diff line number Diff line change
Expand Up @@ -608,9 +608,7 @@ static struct clk *ak4642_of_parse_mcko(struct device *dev)

of_property_read_string(np, "clock-output-names", &clk_name);

clk = clk_register_fixed_rate(dev, clk_name, parent_clk_name,
(parent_clk_name) ? 0 : CLK_IS_ROOT,
rate);
clk = clk_register_fixed_rate(dev, clk_name, parent_clk_name, 0, rate);
if (!IS_ERR(clk))
of_clk_add_provider(np, of_clk_src_simple_get, clk);

Expand Down

0 comments on commit b6bf328

Please sign in to comment.