Skip to content

Commit 4ccc402

Browse files
thierryredingp2mate-nv
authored andcommitted
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>
1 parent c61e4e7 commit 4ccc402

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/clk/tegra/clk-pll.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ static int clk_plle_enable(struct clk_hw *hw)
757757
val |= PLLE_SS_DISABLE;
758758
writel(val, pll->clk_base + PLLE_SS_CTRL);
759759

760-
val |= pll_readl_base(pll);
760+
val = pll_readl_base(pll);
761761
val |= (PLL_BASE_BYPASS | PLL_BASE_ENABLE);
762762
pll_writel_base(val, pll);
763763

0 commit comments

Comments
 (0)