Skip to content

Commit

Permalink
clk: tegra: Fix enabling of PLLE
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thierry Reding authored and Peter De Schrijver committed Apr 17, 2014
1 parent c61e4e7 commit 4ccc402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clk/tegra/clk-pll.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 4ccc402

Please sign in to comment.