linux-uconsole/drivers/clk/at91
Alexandre Belloni d7b3292417 clk: at91: generated: set audio_pll_allowed in at91_clk_register_generated()
commit c1e4580a1d upstream.

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: 1a1a36d72e ("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>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-12-05 09:21:25 +01:00
..
clk-audio-pll.c clk: at91: audio-pll: fix audio pmc type 2019-12-01 09:16:31 +01:00
clk-generated.c clk: at91: generated: set audio_pll_allowed in at91_clk_register_generated() 2019-12-05 09:21:25 +01:00
clk-h32mx.c clk: at91: Migrate to clk_hw based registration and OF APIs 2016-09-14 17:40:31 -07:00
clk-i2s-mux.c clk: at91: add I2S clock mux driver 2018-07-06 11:12:20 -07:00
clk-main.c clk: at91: fix update bit maps on CFG_MOR write 2019-12-05 09:21:25 +01:00
clk-master.c clk: at91: Migrate to clk_hw based registration and OF APIs 2016-09-14 17:40:31 -07:00
clk-peripheral.c clk: at91: Add sama5d2 suspend/resume 2017-06-29 18:47:35 -07:00
clk-pll.c clk: at91: Fix division by zero in PLL recalc_rate() 2018-11-21 09:19:16 +01:00
clk-plldiv.c clk: at91: Migrate to clk_hw based registration and OF APIs 2016-09-14 17:40:31 -07:00
clk-programmable.c clk: at91: pmc: Support backup for programmable clocks 2017-12-21 16:34:06 -08:00
clk-slow.c clk: at91: move slow clock controller clocks to sckc.c 2016-09-20 17:02:38 -07:00
clk-smd.c clk: at91: Migrate to clk_hw based registration and OF APIs 2016-09-14 17:40:31 -07:00
clk-system.c clk: at91: Migrate to clk_hw based registration and OF APIs 2016-09-14 17:40:31 -07:00
clk-usb.c clk: at91: Migrate to clk_hw based registration and OF APIs 2016-09-14 17:40:31 -07:00
clk-utmi.c clk: at91: utmi: set the mainck rate 2017-11-01 23:39:49 -07:00
Makefile clk: at91: add I2S clock mux driver 2018-07-06 11:12:20 -07:00
pmc.c clk: at91: pmc: Support backup for programmable clocks 2017-12-21 16:34:06 -08:00
pmc.h clk: at91: pmc: Support backup for programmable clocks 2017-12-21 16:34:06 -08:00
sckc.c clk: at91: avoid sleeping early 2019-12-05 09:19:38 +01:00