summaryrefslogtreecommitdiff
path: root/drivers/clk/tegra/clk-pll.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-04-04 17:55:15 +0400
committerPeter De Schrijver <pdeschrijver@nvidia.com>2014-04-17 15:12:46 +0400
commit4ccc402ece35695dd2884ec0b652d52ae0230f13 (patch)
treee72273317bd892e4678ee6ccf776831e863554a1 /drivers/clk/tegra/clk-pll.c
parentc61e4e75b95bda4c6fec134aa9f08b5629b532e6 (diff)
downloadlinux-4ccc402ece35695dd2884ec0b652d52ae0230f13.tar.xz
clk: tegra: Fix enabling of PLLE
When enabling the PLLE as its final step, clk_plle_enable() would accidentally OR in the value previously written to the PLLE_SS_CTRL register. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/clk/tegra/clk-pll.c')
-rw-r--r--drivers/clk/tegra/clk-pll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/tegra/clk-pll.c b/drivers/clk/tegra/clk-pll.c
index 1187187a1cf2..7a1b70dac824 100644
--- a/drivers/clk/tegra/clk-pll.c
+++ b/drivers/clk/tegra/clk-pll.c
@@ -757,7 +757,7 @@ static int clk_plle_enable(struct clk_hw *hw)
val |= PLLE_SS_DISABLE;
writel(val, pll->clk_base + PLLE_SS_CTRL);
- val |= pll_readl_base(pll);
+ val = pll_readl_base(pll);
val |= (PLL_BASE_BYPASS | PLL_BASE_ENABLE);
pll_writel_base(val, pll);