]> git.dujemihanovic.xyz Git - u-boot.git/commit
clock/qcom: qcs404: fix clk_set_rate
authorCaleb Connolly <caleb.connolly@linaro.org>
Mon, 26 Feb 2024 17:26:10 +0000 (17:26 +0000)
committerCaleb Connolly <caleb.connolly@linaro.org>
Fri, 1 Mar 2024 14:44:35 +0000 (14:44 +0000)
commit641237bf99f701ffdf3748f5fe1e118eb2d7b781
tree81b03948444b0e60e4e6768109aadcabcf08dec3
parent7d96cca9e1d83ef307d7907e15d7a504ffc1ae69
clock/qcom: qcs404: fix clk_set_rate

We should be returning the rate that we set the clock to, drivers like
MMC rely on this. So fix it.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Tested-by: Sumit Garg <sumit.garg@linaro.org> #qcs404
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
drivers/clk/qcom/clock-qcs404.c