msm: clock-8226: Set an initial rate on the MMSSNOC AXI clock
It's possible that a driver may try to enable a branch clock
downstream to the MMSSNOC AXI RCG before the bus driver is
able to set a rate on this clock. Set an initial rate on this
clock.
Change-Id: Icf7eda69623eba57728cd32193db6604f8302092
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
diff --git a/arch/arm/mach-msm/clock-8226.c b/arch/arm/mach-msm/clock-8226.c
index e139518..acd91b1 100644
--- a/arch/arm/mach-msm/clock-8226.c
+++ b/arch/arm/mach-msm/clock-8226.c
@@ -3478,6 +3478,9 @@
*/
clk_set_rate(&mmssnoc_ahb_a_clk.c, 40000000);
+ /* Set an initial rate (fmax at nominal) on the MMSSNOC AXI clock */
+ clk_set_rate(&axi_clk_src.c, 200000000);
+
enable_rpm_scaling();
reg_init();