linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH/RFC] ARM: mach-shmobile: do not enable the PLLC2 clock on
@ 2010-08-17 22:53 Guennadi Liakhovetski
  2010-08-18  7:30 ` [PATCH/RFC] ARM: mach-shmobile: do not enable the PLLC2 clock on init Paul Mundt
  0 siblings, 1 reply; 2+ messages in thread
From: Guennadi Liakhovetski @ 2010-08-17 22:53 UTC (permalink / raw)
  To: linux-sh

AP4EVB has to reparent PLLC2 to provide a precise HDMI clock, this is only
possible, if PLLC2 hasn't been enabled yet. Since no other driver currently
uses PLLC2 we can safely remove the CLK_ENABLE_ON_INIT flag. This fixes 
the "Cannot set PLLC2 parent: -16, 1 users" error message, when trying to 
use HDMI on AP4EVB.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
---
 arch/arm/mach-shmobile/clock-sh7372.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-shmobile/clock-sh7372.c b/arch/arm/mach-shmobile/clock-sh7372.c
index dcaac1b..7594689 100644
--- a/arch/arm/mach-shmobile/clock-sh7372.c
+++ b/arch/arm/mach-shmobile/clock-sh7372.c
@@ -286,7 +286,6 @@ static struct clk_ops pllc2_clk_ops = {
 
 struct clk pllc2_clk = {
 	.ops		= &pllc2_clk_ops,
-	.flags		= CLK_ENABLE_ON_INIT,
 	.parent		= &extal1_div2_clk,
 	.freq_table	= pllc2_freq_table,
 	.parent_table	= pllc2_parent,
-- 
1.7.2


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

* Re: [PATCH/RFC] ARM: mach-shmobile: do not enable the PLLC2 clock on init
  2010-08-17 22:53 [PATCH/RFC] ARM: mach-shmobile: do not enable the PLLC2 clock on Guennadi Liakhovetski
@ 2010-08-18  7:30 ` Paul Mundt
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2010-08-18  7:30 UTC (permalink / raw)
  To: linux-sh

On Wed, Aug 18, 2010 at 12:53:58AM +0200, Guennadi Liakhovetski wrote:
> AP4EVB has to reparent PLLC2 to provide a precise HDMI clock, this is only
> possible, if PLLC2 hasn't been enabled yet. Since no other driver currently
> uses PLLC2 we can safely remove the CLK_ENABLE_ON_INIT flag. This fixes 
> the "Cannot set PLLC2 parent: -16, 1 users" error message, when trying to 
> use HDMI on AP4EVB.
> 
Applied, thanks.

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

end of thread, other threads:[~2010-08-18  7:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-17 22:53 [PATCH/RFC] ARM: mach-shmobile: do not enable the PLLC2 clock on Guennadi Liakhovetski
2010-08-18  7:30 ` [PATCH/RFC] ARM: mach-shmobile: do not enable the PLLC2 clock on init Paul Mundt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).