clk: qcom: Use parent rate when set rate to pixel RCG clock
authorHai Li <hali@codeaurora.org>
Thu, 25 Jun 2015 22:35:33 +0000 (18:35 -0400)
committerStephen Boyd <sboyd@codeaurora.org>
Mon, 6 Jul 2015 19:24:51 +0000 (12:24 -0700)
commit6d451367bfa16fc103604bacd258f534c65d1540
tree7f597125dc1bc2ace2744da803787c3f1e8b7416
parentc76a024e82bdb83a0f7d57e006f8e7f8ddf983e5
clk: qcom: Use parent rate when set rate to pixel RCG clock

Since the parent rate has been recalculated, pixel RCG clock
should rely on it to find the correct M/N values during set_rate,
instead of calling __clk_round_rate() to its parent again.

Signed-off-by: Hai Li <hali@codeaurora.org>
Tested-by: Archit Taneja <architt@codeaurora.org>
Fixes: 99cbd064b059 ("clk: qcom: Support display RCG clocks")
[sboyd@codeaurora.org: Silenced unused parent variable warning]
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/qcom/clk-rcg2.c