Caleb Connolly a4ba2a6663
serial: msm-geni: handle devm_clk_get() errors
devm_clk_get() returns an ERR_PTR on failure, not null. Fix the check to
avoid the board crashing when the clock isn't available.

Additionally, add the missing error handling for this function.

Fixes: 324df15a292e ("serial: qcom: add support for GENI serial driver")
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
2024-01-16 12:26:53 +00:00
..
2022-12-23 10:15:13 -05:00
2023-05-21 16:54:41 +02:00
2021-12-31 06:45:01 +01:00
2023-05-21 16:54:41 +02:00
2022-06-06 18:01:21 -04:00
2023-11-02 11:30:18 +01:00