diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-10-16 17:21:43 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2018-10-17 20:44:00 +0300 |
commit | c1e4580a1d0ff510d56268c1fc7fcfeec366fe70 (patch) | |
tree | 93d0b85080a448215ef3c590445527d20a076c11 /drivers/clk/at91/clk-system.c | |
parent | 08979ee55a9f2983265bc46b237576fc7986d56d (diff) | |
download | linux-c1e4580a1d0ff510d56268c1fc7fcfeec366fe70.tar.xz |
clk: at91: generated: set audio_pll_allowed in at91_clk_register_generated()
Set gck->audio_pll_allowed in at91_clk_register_generated. This makes it
easier to do it from code that is not parsing device tree.
Also, this fixes an issue where the resulting clk_hw can be dereferenced
before being tested for error.
Fixes: 1a1a36d72e3d ("clk: at91: clk-generated: make gclk determine audio_pll rate")
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/at91/clk-system.c')
0 files changed, 0 insertions, 0 deletions