]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk/qcom: apq8016: return valid rate when setting UART clock
authorCaleb Connolly <caleb.connolly@linaro.org>
Mon, 15 Apr 2024 15:03:38 +0000 (16:03 +0100)
committerCaleb Connolly <caleb.connolly@linaro.org>
Tue, 23 Apr 2024 11:29:14 +0000 (13:29 +0200)
commit8a4e0433056abd07531e59b5fc5c2a8846bfc3b8
tree4edbe34908b9a3db5409df126e206b0701e0aaac
parent615a3e909e36d7e615f5da1c2c46e58e0025d23f
clk/qcom: apq8016: return valid rate when setting UART clock

The clk_init_uart() helper always returns 0, but we're meant to return a
real clock rate. Given that we hardcode 115200 baud, just return the
clock rate that we set.

Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
drivers/clk/qcom/clock-apq8016.c