Commit 1c982327 authored by Tuomas Tynkkynen's avatar Tuomas Tynkkynen Committed by Jiri Slaby

clk: tegra: Fix wrong value written to PLLE_AUX

commit d2c834ab upstream.

The value written to PLLE_AUX was incorrect due to a wrong variable
being used. Without this fix SATA does not work.
Signed-off-by: default avatarTuomas Tynkkynen <ttynkkynen@nvidia.com>
Tested-by: default avatarMikko Perttunen <mperttunen@nvidia.com>
Reviewed-by: default avatarThierry Reding <treding@nvidia.com>
Tested-by: default avatarThierry Reding <treding@nvidia.com>
Acked-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
[mturquette@linaro.org: improved changelog]
Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
parent 760728fb
...@@ -1594,7 +1594,7 @@ struct clk *tegra_clk_register_plle_tegra114(const char *name, ...@@ -1594,7 +1594,7 @@ struct clk *tegra_clk_register_plle_tegra114(const char *name,
"pll_re_vco"); "pll_re_vco");
} else { } else {
val_aux &= ~(PLLE_AUX_PLLRE_SEL | PLLE_AUX_PLLP_SEL); val_aux &= ~(PLLE_AUX_PLLRE_SEL | PLLE_AUX_PLLP_SEL);
pll_writel(val, pll_params->aux_reg, pll); pll_writel(val_aux, pll_params->aux_reg, pll);
} }
clk = _tegra_clk_register_pll(pll, name, parent_name, flags, clk = _tegra_clk_register_pll(pll, name, parent_name, flags,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment