]> git.baikalelectronics.ru Git - kernel.git/commit
clk: at91: clk-generated: continue if __clk_determine_rate() returns error
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Wed, 22 Jul 2020 07:38:09 +0000 (10:38 +0300)
committerStephen Boyd <sboyd@kernel.org>
Fri, 24 Jul 2020 09:18:47 +0000 (02:18 -0700)
commit2674745a2bca08b9bb998c6dc9e32fbdf5ee2c8e
tree48fed6100dfc276da8e6e2a671b282a6e2a92b47
parent79539743ee61bb91f9f58875a099d23ef35f7586
clk: at91: clk-generated: continue if __clk_determine_rate() returns error

__clk_determine_rate() may return error. Skip the current step
in case of error.

Fixes: 7ab7b549e2cbf ("clk: at91: clk-generated: make gclk determine audio_pll rate")
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/1595403506-8209-2-git-send-email-claudiu.beznea@microchip.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/at91/clk-generated.c