* [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[parent not found: <1400248220-16025-1-git-send-email-ttynkkynen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>]
* Re: [PATCH] clk: tegra: Fix wrong value written to PLLE_AUX [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 2014-05-19 8:45 ` Peter De Schrijver 0 siblings, 2 replies; 5+ messages in thread From: Thierry Reding @ 2014-05-16 14:31 UTC (permalink / raw) To: Tuomas Tynkkynen Cc: Mike Turquette, Peter De Schrijver, linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-tegra-u79uwXL29TY76Z2rM5mHXA [-- Attachment #1: Type: text/plain, Size: 962 bytes --] On Fri, May 16, 2014 at 04:50:20PM +0300, Tuomas Tynkkynen wrote: > The value written to PLLE_AUX was incorrect due to a wrong variable > being used. > > Signed-off-by: Tuomas Tynkkynen <ttynkkynen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > Tested-by: Mikko Perttunen <mperttunen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > --- > This fix is required for the (upcoming) SATA support. > drivers/clk/tegra/clk-pll.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> Tested-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> Acked-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> Mike, Peter, it might be good to have this go into 3.16 as a prerequisite for the upcoming SATA driver (which presumably won't be ready until 3.17, but in that case it would be good to have this prerequisite merged already). Thierry [-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] clk: tegra: Fix wrong value written to PLLE_AUX 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-19 8:45 ` Peter De Schrijver 1 sibling, 1 reply; 5+ messages in thread From: Stephen Warren @ 2014-05-16 16:05 UTC (permalink / raw) To: Thierry Reding, Tuomas Tynkkynen Cc: Mike Turquette, Peter De Schrijver, linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-tegra-u79uwXL29TY76Z2rM5mHXA On 05/16/2014 08:31 AM, Thierry Reding wrote: > On Fri, May 16, 2014 at 04:50:20PM +0300, Tuomas Tynkkynen wrote: >> The value written to PLLE_AUX was incorrect due to a wrong variable >> being used. >> >> Signed-off-by: Tuomas Tynkkynen <ttynkkynen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> >> Tested-by: Mikko Perttunen <mperttunen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> >> --- >> This fix is required for the (upcoming) SATA support. >> drivers/clk/tegra/clk-pll.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > > Reviewed-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > Tested-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > Acked-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > > Mike, Peter, it might be good to have this go into 3.16 as a > prerequisite for the upcoming SATA driver (which presumably won't be > ready until 3.17, but in that case it would be good to have this > prerequisite merged already). Probably even Cc: stable since it's a fix for a bug that I assume has been in a kernel release or two? ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <5376373E.1080401-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>]
* Re: [PATCH] clk: tegra: Fix wrong value written to PLLE_AUX [not found] ` <5376373E.1080401-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> @ 2014-05-17 21:06 ` Thierry Reding 0 siblings, 0 replies; 5+ messages in thread From: Thierry Reding @ 2014-05-17 21:06 UTC (permalink / raw) To: Stephen Warren Cc: Tuomas Tynkkynen, Mike Turquette, Peter De Schrijver, linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-tegra-u79uwXL29TY76Z2rM5mHXA [-- Attachment #1: Type: text/plain, Size: 1442 bytes --] On Fri, May 16, 2014 at 10:05:18AM -0600, Stephen Warren wrote: > On 05/16/2014 08:31 AM, Thierry Reding wrote: > > On Fri, May 16, 2014 at 04:50:20PM +0300, Tuomas Tynkkynen wrote: > >> The value written to PLLE_AUX was incorrect due to a wrong variable > >> being used. > >> > >> Signed-off-by: Tuomas Tynkkynen <ttynkkynen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > >> Tested-by: Mikko Perttunen <mperttunen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > >> --- > >> This fix is required for the (upcoming) SATA support. > >> drivers/clk/tegra/clk-pll.c | 2 +- > >> 1 file changed, 1 insertion(+), 1 deletion(-) > > > > Reviewed-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > > Tested-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > > Acked-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > > > > Mike, Peter, it might be good to have this go into 3.16 as a > > prerequisite for the upcoming SATA driver (which presumably won't be > > ready until 3.17, but in that case it would be good to have this > > prerequisite merged already). > > Probably even Cc: stable since it's a fix for a bug that I assume has > been in a kernel release or two? Yeah, I guess that makes sense. The bug isn't visible yet, but back- porting to stable might save somebody else from chasing this if they ever decide to backport PCIe, SATA or XUSB. Thierry [-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] clk: tegra: Fix wrong value written to PLLE_AUX 2014-05-16 14:31 ` Thierry Reding 2014-05-16 16:05 ` Stephen Warren @ 2014-05-19 8:45 ` Peter De Schrijver 1 sibling, 0 replies; 5+ messages in thread From: Peter De Schrijver @ 2014-05-19 8:45 UTC (permalink / raw) To: Thierry Reding Cc: Tuomas Tynkkynen, Mike Turquette, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On Fri, May 16, 2014 at 04:31:11PM +0200, Thierry Reding wrote: > * PGP Signed by an unknown key > > On Fri, May 16, 2014 at 04:50:20PM +0300, Tuomas Tynkkynen wrote: > > The value written to PLLE_AUX was incorrect due to a wrong variable > > being used. > > > > Signed-off-by: Tuomas Tynkkynen <ttynkkynen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > > Tested-by: Mikko Perttunen <mperttunen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > > --- > > This fix is required for the (upcoming) SATA support. > > drivers/clk/tegra/clk-pll.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > Reviewed-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > Tested-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > Acked-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > > Mike, Peter, it might be good to have this go into 3.16 as a > prerequisite for the upcoming SATA driver (which presumably won't be > ready until 3.17, but in that case it would be good to have this > prerequisite merged already). Yes... We should also take Andrew's fixes. I will prepare a pull request for 3.16. Cheers, Peter. ^ permalink raw reply [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