linux/drivers/clk/at91
Claudiu Beznea 1bd8e27fd0 clk: at91: clk-sam9x60-pll: fix return value check
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>
2023-03-06 12:30:01 -08:00
..
at91rm9200.c clk: at91: mark ddr clocks as critical 2023-01-09 14:05:41 +02:00
at91sam9g45.c clk: at91: mark ddr clocks as critical 2023-01-09 14:05:41 +02:00
at91sam9n12.c clk: at91: mark ddr clocks as critical 2023-01-09 14:05:41 +02:00
at91sam9rl.c clk: at91: mark ddr clocks as critical 2023-01-09 14:05:41 +02:00
at91sam9x5.c clk: at91: mark ddr clocks as critical 2023-01-09 14:05:41 +02:00
at91sam9260.c clk: at91: mark ddr clocks as critical 2023-01-09 14:05:41 +02: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: Stop forwarding clk_rate_requests to the parent 2022-09-15 09:32:11 -07: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: at91: move DT compatibility code to its own file 2018-10-17 10:45:39 -07:00
clk-main.c clk: at91: re-factor clocks suspend/resume 2021-10-26 18:27:41 -07:00
clk-master.c clk: Stop forwarding clk_rate_requests to the parent 2022-09-15 09:32:11 -07:00
clk-peripheral.c clk: at91: mark ddr clocks as critical 2023-01-09 14:05:41 +02:00
clk-pll.c clk: at91: re-factor clocks suspend/resume 2021-10-26 18:27:41 -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: re-factor clocks suspend/resume 2021-10-26 18:27:41 -07:00
clk-sam9x60-pll.c clk: at91: clk-sam9x60-pll: fix return value check 2023-03-06 12:30:01 -08: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: mark ddr clocks as critical 2023-01-09 14:05:41 +02:00
clk-usb.c clk: at91: re-factor clocks suspend/resume 2021-10-26 18:27:41 -07:00
clk-utmi.c clk: at91: re-factor clocks suspend/resume 2021-10-26 18:27:41 -07:00
dt-compat.c clk: at91: mark ddr clocks as critical 2023-01-09 14:05:41 +02:00
Makefile clk: at91: do not compile dt-compat.c for sama7g5 and sam9x60 2023-01-09 14:05:41 +02:00
pmc.c clk: at91: pmc: add sama7g5 to the list of available pmcs 2021-10-26 18:27:42 -07:00
pmc.h clk: at91: mark ddr clocks as critical 2023-01-09 14:05:41 +02:00
sam9x60.c clk: at91: mark ddr clocks as critical 2023-01-09 14:05:41 +02:00
sama5d2.c clk: at91: mark ddr clocks as critical 2023-01-09 14:05:41 +02:00
sama5d3.c clk: at91: mark ddr clocks as critical 2023-01-09 14:05:41 +02:00
sama5d4.c clk: at91: mark ddr clocks as critical 2023-01-09 14:05:41 +02:00
sama7g5.c clk: at91: mark ddr clocks as critical 2023-01-09 14:05:41 +02:00
sckc.c clk: cleanup comments 2022-03-11 18:22:15 -08:00