public inbox for linux-tegra@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clk: tegra: Fix wrong value written to PLLE_AUX
@ 2014-05-16 13:50 Tuomas Tynkkynen
       [not found] ` <1400248220-16025-1-git-send-email-ttynkkynen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Tuomas Tynkkynen @ 2014-05-16 13:50 UTC (permalink / raw)
  To: Mike Turquette
  Cc: Peter De Schrijver, linux-kernel, linux-tegra, Tuomas Tynkkynen

The value written to PLLE_AUX was incorrect due to a wrong variable
being used.

Signed-off-by: Tuomas Tynkkynen <ttynkkynen@nvidia.com>
Tested-by: Mikko Perttunen <mperttunen@nvidia.com>
---
  This fix is required for the (upcoming) SATA support.
 drivers/clk/tegra/clk-pll.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/tegra/clk-pll.c b/drivers/clk/tegra/clk-pll.c
index 0d20241..e1769ad 100644
--- a/drivers/clk/tegra/clk-pll.c
+++ b/drivers/clk/tegra/clk-pll.c
@@ -1718,7 +1718,7 @@ struct clk *tegra_clk_register_plle_tegra114(const char *name,
 					"pll_re_vco");
 	} else {
 		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,
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-05-19  8:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-16 13:50 [PATCH] clk: tegra: Fix wrong value written to PLLE_AUX Tuomas Tynkkynen
     [not found] ` <1400248220-16025-1-git-send-email-ttynkkynen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-05-16 14:31   ` Thierry Reding
2014-05-16 16:05     ` Stephen Warren
     [not found]       ` <5376373E.1080401-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2014-05-17 21:06         ` Thierry Reding
2014-05-19  8:45     ` Peter De Schrijver

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox