commit | afd9dcf23cb232dd5f352336c6b389691682be47 | [log] [tgz] |
---|---|---|
author | Caleb Connolly <caleb.connolly@linaro.org> | Tue Nov 14 12:51:12 2023 +0000 |
committer | Caleb Connolly <caleb.connolly@linaro.org> | Mon Dec 04 15:50:09 2023 +0000 |
tree | 451449de9c54400dfc1b8cafcec7d4149a8150fa | |
parent | 393825c304411c6483dbfbc45ea09c577365ddb9 [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>