Tom Rini
8eed8a3558
Merge patch series "clk: Fix some error detection"
...
Andrew Goodbody <andrew.goodbody@linaro.org> says:
The function clk_get_rate() returns a ulong with 0 meaning an invalid
clock rate and also negative error codes being returned for other
errors. But being an unsigned return value this cannot simply be tested
for with a < 0 test. Instead use the IS_ERR_VALUE() macro to check for
negative errors appearing as very large positive values. Fix those
places that test for <= 0. Also fix some places checking the return of
clk_register() that incorrectly used ERR_PTR().
Link: https://lore.kernel.org/r/20251021-clk_funcs-v1-0-acf51a40eea7@linaro.org
2025-12-04 09:38:46 -06:00
..
2025-11-15 07:37:25 +01:00
2024-05-20 13:35:03 -06:00
2020-12-13 16:51:09 -07:00
2025-03-12 10:24:58 -06:00
2024-05-20 13:35:03 -06:00
2023-02-13 09:57:49 +01:00
2024-05-20 13:35:03 -06:00
2020-01-27 07:22:41 +01:00
2024-05-20 13:35:03 -06:00
2020-05-18 21:19:23 -04:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2025-09-10 11:02:20 -06:00
2018-05-07 09:34:12 -04:00
2024-10-11 11:44:47 -06:00
2025-09-29 08:01:15 -06:00
2022-06-17 14:12:27 +02:00
2024-08-09 14:46:05 +02:00
2024-05-20 13:35:03 -06:00
2025-10-30 11:04:51 -06:00
2024-08-13 06:23:15 +02:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2020-07-09 06:02:44 +02:00
2024-05-20 13:35:03 -06:00
2024-10-21 06:32:40 +02:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2023-01-06 08:14:19 -05:00
2024-07-22 10:53:05 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2025-12-04 09:38:17 -06:00
2024-05-20 13:35:03 -06:00
2025-07-16 09:20:13 +02:00
2020-04-20 06:52:28 +02:00
2025-10-30 11:06:44 -06:00
2024-05-20 13:35:03 -06:00
2025-10-28 09:49:57 +01:00
2024-05-20 13:35:03 -06:00
2025-10-28 09:49:57 +01:00
2025-04-22 13:04:22 +02:00
2024-05-20 13:35:03 -06:00
2018-05-07 09:34:12 -04:00
2024-05-20 13:35:03 -06:00
2024-10-25 09:07:39 -03:00
2025-12-04 09:38:17 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2023-01-20 12:27:24 -05:00
2025-08-22 09:26:45 -06:00
2020-01-27 07:23:26 +01:00
2024-05-20 13:35:03 -06:00
2025-10-28 09:51:02 +01:00
2025-08-06 07:48:40 +02:00
2024-05-20 13:35:03 -06:00
2024-10-23 06:52:38 +02:00
2024-08-09 14:46:05 +02:00
2024-08-09 14:46:05 +02:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-08-13 06:14:36 +02:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2021-07-06 14:07:37 -04:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00