Skip to content

Commit b192b91

Browse files
joseph-lo-nvtwvireshk
authored andcommitted
cpufreq: tegra: fix the wrong clock name
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. Tested-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Joseph Lo <josephl@nvidia.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
1 parent b36f4be commit b192b91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/cpufreq/tegra-cpufreq.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,15 +255,15 @@ static struct cpufreq_driver tegra_cpufreq_driver = {
255255

256256
static int __init tegra_cpufreq_init(void)
257257
{
258-
cpu_clk = clk_get_sys(NULL, "cpu");
258+
cpu_clk = clk_get_sys(NULL, "cclk");
259259
if (IS_ERR(cpu_clk))
260260
return PTR_ERR(cpu_clk);
261261

262262
pll_x_clk = clk_get_sys(NULL, "pll_x");
263263
if (IS_ERR(pll_x_clk))
264264
return PTR_ERR(pll_x_clk);
265265

266-
pll_p_clk = clk_get_sys(NULL, "pll_p_cclk");
266+
pll_p_clk = clk_get_sys(NULL, "pll_p");
267267
if (IS_ERR(pll_p_clk))
268268
return PTR_ERR(pll_p_clk);
269269

0 commit comments

Comments
 (0)