Commit 7949ecb3 authored by Tianyi Gou's avatar Tianyi Gou Committed by Matt Wagantall
Browse files

msm: clock: Fix rate storage for pll/pll_vote/fixed clocks



pll_clk, pll_vote_clk and fixed_clk have a separate rate field in
their definition structs. This is redundant since the clk struct
embedded in these three clocks has the rate already. In addition,
there is a problem of finding the correct vdd level while update
the vdd for the pll clk which support vdd voting because the level
is found by looking at the rate in the clk struct instead of the
rate outside of clk struct.

Therefore, remove the rate field for these clocks and update the
corresponding get_rate functions.

Change-Id: Iff21488cb7f45447949674ce0bf7543482463bfe
Signed-off-by: default avatarTianyi Gou <tgou@codeaurora.org>
parent d8e9ec1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment