All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cpufreq: tegra: fix the wrong clock name
@ 2013-08-23  1:43 ` Joseph Lo
  0 siblings, 0 replies; 6+ messages in thread
From: Joseph Lo @ 2013-08-23  1:43 UTC (permalink / raw)
  To: Stephen Warren, Rafael J. Wysocki, Viresh Kumar
  Cc: linux-tegra, linux-arm-kernel, cpufreq, linux-pm, Joseph Lo

The "cpu" and "pclk_p_cclk" was a virtual clock name that was used in
the legacy Tegra clock framework. It was not used after converting to
CCF. Fix it as the correct clock name that we are using.

Signed-off-by: Joseph Lo <josephl@nvidia.com>
---
 drivers/cpufreq/tegra-cpufreq.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/cpufreq/tegra-cpufreq.c b/drivers/cpufreq/tegra-cpufreq.c
index cd66b85..a7b876f 100644
--- a/drivers/cpufreq/tegra-cpufreq.c
+++ b/drivers/cpufreq/tegra-cpufreq.c
@@ -255,7 +255,7 @@ static struct cpufreq_driver tegra_cpufreq_driver = {
 
 static int __init tegra_cpufreq_init(void)
 {
-	cpu_clk = clk_get_sys(NULL, "cpu");
+	cpu_clk = clk_get_sys(NULL, "cclk");
 	if (IS_ERR(cpu_clk))
 		return PTR_ERR(cpu_clk);
 
@@ -263,7 +263,7 @@ static int __init tegra_cpufreq_init(void)
 	if (IS_ERR(pll_x_clk))
 		return PTR_ERR(pll_x_clk);
 
-	pll_p_clk = clk_get_sys(NULL, "pll_p_cclk");
+	pll_p_clk = clk_get_sys(NULL, "pll_p");
 	if (IS_ERR(pll_p_clk))
 		return PTR_ERR(pll_p_clk);
 
-- 
1.8.3.4


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

end of thread, other threads:[~2013-08-23 16:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-23  1:43 [PATCH] cpufreq: tegra: fix the wrong clock name Joseph Lo
2013-08-23  1:43 ` Joseph Lo
     [not found] ` <1377222238-9439-1-git-send-email-josephl-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-08-23  4:53   ` Viresh Kumar
2013-08-23  4:53     ` Viresh Kumar
2013-08-23 16:24 ` Stephen Warren
2013-08-23 16:24   ` Stephen Warren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.