Skip to content

Commit

Permalink
ARM: mach-shmobile: PLL does not have to run constantly for HDMI
Browse files Browse the repository at this point in the history
The PLLC2 clock on AP4 systems does not need to run constantly to be
able to use HDMI. The HDMI hotplug interrupt works without the PLL
too, after which all the necessary clocks will be turned on by the
runtime PM.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Guennadi Liakhovetski authored and Paul Mundt committed May 24, 2011
1 parent fe78e68 commit a63666c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
5 changes: 0 additions & 5 deletions arch/arm/mach-shmobile/board-ap4evb.c
Original file line number Diff line number Diff line change
Expand Up @@ -980,11 +980,6 @@ static void __init hdmi_init_pm_clock(void)
goto out;
}

ret = clk_enable(&sh7372_pllc2_clk);
if (ret < 0) {
pr_err("Cannot enable pllc2 clock\n");
goto out;
}
pr_debug("PLLC2 set frequency %lu\n", rate);

ret = clk_set_parent(hdmi_ick, &sh7372_pllc2_clk);
Expand Down
6 changes: 0 additions & 6 deletions arch/arm/mach-shmobile/board-mackerel.c
Original file line number Diff line number Diff line change
Expand Up @@ -458,12 +458,6 @@ static void __init hdmi_init_pm_clock(void)
goto out;
}

ret = clk_enable(&sh7372_pllc2_clk);
if (ret < 0) {
pr_err("Cannot enable pllc2 clock\n");
goto out;
}

pr_debug("PLLC2 set frequency %lu\n", rate);

ret = clk_set_parent(hdmi_ick, &sh7372_pllc2_clk);
Expand Down

0 comments on commit a63666c

Please sign in to comment.