Re: [PATCH] clk: qcom: clk-smd-rpm: Fix the initial rate of branches

From: Stephen Boyd
Date: Wed Jul 12 2017 - 19:11:09 EST


On 07/04, Georgi Djakov wrote:
> As there is no way to actually query the hardware for the current clock
> rate, now racalc_rate() just returns the last rate that was previously
> set. But if the rate was not set yet, we return the bogus rate of 1KHz.
>
> Knowing what the rate of XO is and that some clocks are just branches of
> it, we can do better and return that rate instead of a bogus one.
>
> Reported-by: Archit Taneja <architt@xxxxxxxxxxxxxx>
> Signed-off-by: Georgi Djakov <georgi.djakov@xxxxxxxxxx>
> ---

Applied to clk-next, any Fixes: tag to attach here?

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project