[PATCH 1/2] ARM: imx: unset pllv3 BYPASS and POWER sequentially

jiada_wang at mentor.com jiada_wang at mentor.com
Wed May 21 07:47:50 PDT 2014


From: Dirk Behme <dirk.behme at de.bosch.com>

Currently, POWER and BYPASS bits are set up in a single write to pllv3
register. With commit 43c9b9e8a4c6 ("ARM: imx: set up pllv3 POWER and
BYPASS sequentially") this has been changed in the prepare() function.
Do the same for the unprepare().

Signed-off-by: Dirk Behme <dirk.behme at de.bosch.com>
---
 arch/arm/mach-imx/clk-pllv3.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/mach-imx/clk-pllv3.c b/arch/arm/mach-imx/clk-pllv3.c
index 6136405..36f2396 100644
--- a/arch/arm/mach-imx/clk-pllv3.c
+++ b/arch/arm/mach-imx/clk-pllv3.c
@@ -98,6 +98,8 @@ static void clk_pllv3_unprepare(struct clk_hw *hw)
 
 	val = readl_relaxed(pll->base);
 	val |= BM_PLL_BYPASS;
+	writel_relaxed(val, pll->base);
+
 	if (pll->powerup_set)
 		val &= ~BM_PLL_POWER;
 	else
-- 
1.7.9.5




More information about the linux-arm-kernel mailing list