commit | 99e791746f318e308646b4831a0a9fc3ad9228c4 | [log] [tgz] |
---|---|---|
author | Caleb Connolly <caleb.connolly@linaro.org> | Mon Apr 15 16:03:39 2024 +0100 |
committer | Caleb Connolly <caleb.connolly@linaro.org> | Tue Apr 23 13:29:15 2024 +0200 |
tree | d10264e1235732320b79e71958e14163e4ae4535 | |
parent | 8a4e0433056abd07531e59b5fc5c2a8846bfc3b8 [diff] |
clk/qcom: ipq4019: return valid rate when setting UART clock clk_set_rate() should return the clock rate that was set. The IPQ4019 clock driver doesn't set any rates yet but it should still return the expected value so that drivers can work properly. For a baud rate of 115200 with an expected bit clock divisor of 16, the clock rate should be 1843200 so return that frequency. Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>