Satya Priya Kakitapalli
a4d89b11ac
clk: qcom: clk-alpha-pll: Simplify the zonda_pll_adjust_l_val()
In zonda_pll_adjust_l_val() replace the divide operator with comparison
operator to fix below build error and smatch warning.
drivers/clk/qcom/clk-alpha-pll.o: In function `clk_zonda_pll_set_rate':
clk-alpha-pll.c:(.text+0x45dc): undefined reference to `__aeabi_uldivmod'
smatch warnings:
drivers/clk/qcom/clk-alpha-pll.c:2129 zonda_pll_adjust_l_val() warn: replace
divide condition '(remainder * 2) / prate' with '(remainder * 2) >= prate'
Fixes: f4973130d255 ("clk: qcom: clk-alpha-pll: Update set_rate for Zonda PLL")
Reported-by: Jon Hunter <jonathanh@nvidia.com>
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/r/202408110724.8pqbpDiD-lkp@intel.com/
Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@quicinc.com>
Link: https://lore.kernel.org/r/20240906113905.641336-1-quic_skakitap@quicinc.com
Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2024-09-09 14:06:07 -07:00
..
2023-08-22 14:28:03 -07:00
2023-10-23 20:26:49 -07:00
2023-10-18 17:56:13 -07:00
2024-04-29 17:03:20 -07:00
2024-07-18 13:33:01 -07:00
2024-02-21 20:27:19 -08:00
2024-05-01 14:40:49 +03:00
2024-03-13 12:34:04 -07:00
2024-07-19 12:16:28 -07:00
2024-06-14 09:29:41 +02:00
2024-05-07 14:57:46 -07:00
2023-12-16 17:15:06 -08:00
2023-08-30 14:39:19 -07:00
2024-07-10 13:08:59 -07:00
2023-08-22 14:52:11 -07:00
2024-07-08 13:32:47 -07:00
2024-09-09 14:06:07 -07:00
2023-10-18 17:31:44 -07:00
2024-06-27 18:17:13 +02:00
2024-06-27 21:04:40 +02:00
2024-07-23 11:29:23 -07:00
2024-07-19 12:16:28 -07:00
2023-10-30 14:10:51 -07:00
2024-07-18 13:33:15 -07:00
2024-06-03 15:43:16 -07:00
2024-08-29 12:24:42 -07:00
2024-06-03 14:10:46 -07:00
2024-07-25 06:53:47 -05:00
2024-07-19 12:16:28 -07:00
2023-09-12 10:56:05 -07:00
2024-07-31 14:51:47 -07:00
2024-04-05 14:13:22 -07:00
2024-07-02 15:56:43 -07:00
2023-10-23 19:40:20 -07:00
2024-03-12 12:48:15 +02:00
2024-07-08 13:32:26 -07:00
2024-03-08 17:15:20 -08:00
2023-12-16 17:20:14 -08:00
2023-10-12 15:05:00 -07:00
2024-06-03 15:46:46 -07:00
2023-09-11 13:12:53 -07:00
2023-08-30 14:39:19 -07:00
2024-02-21 21:46:13 -08:00
2023-08-22 14:28:05 -07:00
2023-08-22 14:28:11 -07:00
2024-02-21 21:36:09 -08:00
2024-07-25 06:53:47 -05:00
2024-02-21 21:13:36 -08:00
2024-07-08 14:43:28 -07:00
2024-02-21 22:11:51 -08:00
2024-06-03 15:46:46 -07:00
2024-03-08 17:07:11 -08:00
2023-08-22 14:28:15 -07:00
2024-06-03 15:46:46 -07:00
2023-09-11 13:20:40 -07:00
2024-04-19 18:58:36 -07:00
2024-04-19 18:57:30 -07:00
2023-08-22 14:28:20 -07:00
2023-08-23 15:47:35 -07:00
2023-10-23 20:16:21 -07:00
2024-04-11 00:30:13 -07:00
2023-08-22 13:51:26 -07:00
2023-10-18 18:06:05 -07:00
2024-04-19 19:09:41 -07:00
2024-04-22 17:17:14 -07:00
2023-10-09 20:29:16 -07:00
2023-10-30 14:12:53 -07:00
2023-10-30 14:12:53 -07:00
2023-10-30 14:12:53 -07:00
2023-12-17 17:46:42 -08:00
2024-07-25 06:53:47 -05:00
2023-12-16 17:10:17 -08:00
2023-10-19 16:40:15 -07:00
2023-12-17 15:56:14 -08:00
2023-10-09 20:31:23 -07:00
2023-10-09 20:31:23 -07:00
2024-07-25 06:53:47 -05:00
2024-06-10 12:03:21 +01:00
2024-07-16 11:24:25 -07:00
2024-07-15 12:15:01 -07:00