[PATCH 22/22] msm: clock-8x60: Don't keep IOMMU clocks on at boot

Stephen Boyd sboyd at codeaurora.org
Thu Dec 16 19:50:06 EST 2010


Now that the IOMMU driver properly handles its clocks we can stop
keeping the clocks it requires to be on during early boot.

Reviewed-by: Saravana Kannan <skannan at codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd at codeaurora.org>
---
 arch/arm/mach-msm/clock-8x60.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/arch/arm/mach-msm/clock-8x60.c b/arch/arm/mach-msm/clock-8x60.c
index 28017b7..78f33ef 100644
--- a/arch/arm/mach-msm/clock-8x60.c
+++ b/arch/arm/mach-msm/clock-8x60.c
@@ -1851,15 +1851,6 @@ static void reg_init(void)
 	/* Set the dsi_byte_clk src to the DSI PHY PLL,
 	 * dsi_esc_clk to PXO/2, and the hdmi_app_clk src to PXO */
 	rmwreg(0x400001, MISC_CC2_REG, 0x424003);
-
-	/*
-	 * Turn on clocks required by the SMMU driver until it properly
-	 * controls its own clocks.
-	 */
-	local_clk_enable(C(SMMU_P));
-	local_clk_enable(C(JPEGD_AXI));
-	local_clk_enable(C(VFE_AXI));
-	local_clk_enable(C(VCODEC_AXI));
 }
 
 /* Local clock driver initialization. */
-- 
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.




More information about the linux-arm-kernel mailing list