linux-stable/drivers/clk/at91
Claudiu Beznea 8d909684bd clk: at91: clk-sam9x60-pll: fix return value check
[ Upstream commit 1bd8e27fd0 ]

sam9x60_frac_pll_compute_mul_frac() can't return zero. Remove the check
against zero to reflect this.

Fixes: 43b1bb4a9b ("clk: at91: clk-sam9x60-pll: re-factor to support plls with multiple outputs")
Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20230227105931.2812412-1-claudiu.beznea@microchip.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-11 23:00:35 +09:00
..
at91rm9200.c ARM: at91: rm9200: fix usb device clock id 2022-12-08 11:28:38 +01:00
at91sam9g45.c clk: at91: Fix the declaration of the clocks 2021-02-09 16:54:44 -08:00
at91sam9n12.c clk: at91: Fix the declaration of the clocks 2021-02-09 16:54:44 -08:00
at91sam9rl.c clk: at91: Fix the declaration of the clocks 2021-02-09 16:54:44 -08:00
at91sam9x5.c clk: at91: Fix the declaration of the clocks 2021-02-09 16:54:44 -08:00
at91sam9260.c clk: at91: Fix the declaration of the clocks 2021-02-09 16:54:44 -08:00
clk-audio-pll.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
clk-generated.c clk: at91: generated: consider range when calculating best rate 2022-05-25 09:57:32 +02:00
clk-h32mx.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
clk-i2s-mux.c
clk-main.c clk: at91: clk-main: update key before writing AT91_CKGR_MOR 2020-10-13 19:59:01 -07:00
clk-master.c clk: at91: clk-master: fix prescaler logic 2021-11-18 19:16:56 +01:00
clk-peripheral.c clk: at91: remove the checking of parent_name 2020-10-13 19:59:01 -07:00
clk-pll.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
clk-plldiv.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
clk-programmable.c clk: at91: clk-programmable: add mux_table option 2020-07-24 02:19:08 -07:00
clk-sam9x60-pll.c clk: at91: clk-sam9x60-pll: fix return value check 2023-05-11 23:00:35 +09:00
clk-slow.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
clk-smd.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
clk-system.c clk: at91: replace conditional operator with double logical not 2020-07-24 02:19:08 -07:00
clk-usb.c clk: at91: usb: introduce num_parents in driver's structure 2020-02-12 15:31:47 -08:00
clk-utmi.c clk: at91: clk-utmi: add utmi support for sama7g5 2020-07-24 02:19:08 -07:00
dt-compat.c clk: at91: clk-master: re-factor master clock 2020-12-19 11:50:56 -08:00
Makefile clk: at91: sama7g5: add clock support for sama7g5 2020-07-24 02:19:09 -07:00
pmc.c clk: at91: check pmc node status before registering syscore ops 2021-11-18 19:16:51 +01:00
pmc.h clk: at91: clk-master: re-factor master clock 2020-12-19 11:50:56 -08:00
sam9x60.c clk: at91: sam9x60: remove atmel,osc-bypass support 2020-12-19 15:33:00 -08:00
sama5d2.c clk: at91: Fix the declaration of the clocks 2021-02-09 16:54:44 -08:00
sama5d3.c clk: at91: Fix the declaration of the clocks 2021-02-09 16:54:44 -08:00
sama5d4.c clk: at91: Fix the declaration of the clocks 2021-02-09 16:54:44 -08:00
sama7g5.c clk: at91: sama7g5: fix parents of PDMCs' GCLK 2022-04-08 14:23:47 +02:00
sckc.c clk: at91: sckc: register slow_rc with accuracy option 2020-07-24 02:19:08 -07:00