Andrew Goodbody
4d3183723f
serial: lpuart: Return value from correct variable
...
In get_lpuart_clk_rate if the call to clk_get_rate returns an error then
the call to return should pass the value of the error which is in rate
rather than ret which will be 0 as its value is not affected by this
error.
This issue was found by Smatch.
Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2025-08-27 15:52:20 +08: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
2024-10-11 11:44:48 -06:00
2018-05-07 09:34:12 -04:00
2025-08-14 11:03:12 -06:00
2025-08-14 11:03:12 -06:00
2025-03-10 09:22:35 +01:00
2025-04-03 16:54:49 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-07-22 10:53:06 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-01-29 22:35:02 -05: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
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2025-08-27 15:52:20 +08: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
2025-08-13 15:17:36 +02:00
2024-05-20 13:35:03 -06:00
2022-09-18 10:26:33 +02:00
2025-06-05 14:30:35 -06:00
2024-05-20 13:35:03 -06:00
2025-03-19 13:17:21 -03: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
2024-07-22 10:53:06 -06:00
2022-09-18 10:26:33 +02:00
2022-09-18 10:26:33 +02:00
2024-12-14 09:32:59 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-07-22 10:53:06 -06:00
2024-10-27 17:24:12 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:48 -06:00
2024-03-12 14:36:13 +08:00
2024-05-20 13:35:03 -06:00
2023-11-02 11:30:18 +01:00
2023-10-19 17:03:20 +02:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2025-03-12 16:44:31 +01:00
2023-11-13 10:55:38 +01:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-07-04 16:08:37 -06:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:48 -06:00
2025-08-21 10:02:43 -06:00
2024-10-11 11:44:48 -06:00