commit | 0649d07dccf5e54e4d651206a42adaedc288330e | [log] [tgz] |
---|---|---|
author | Caleb Connolly <caleb.connolly@linaro.org> | Tue Nov 14 12:51:12 2023 +0000 |
committer | Caleb Connolly <caleb.connolly@linaro.org> | Tue Jan 16 12:26:53 2024 +0000 |
tree | 8c661f91aaaa0fa7f84c6e32875d20dbdd2dbc4c | |
parent | 29ac8d91420b6be611b5df6a103c041f7bddd8b0 [diff] |
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>