diff mbox

DaVinci: DM365: Correct USB source clock

Message ID 1251405583-2629-1-git-send-email-s-paulraj@ti.com (mailing list archive)
State Accepted
Headers show

Commit Message

s-paulraj@ti.com Aug. 27, 2009, 8:39 p.m. UTC
From: Sandeep Paulraj <s-paulraj@ti.com>

The USB source clock assignment was wrong.
This patch fixes the incorrect clock.

Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
---
 arch/arm/mach-davinci/dm365.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Kevin Hilman Sept. 9, 2009, 12:01 a.m. UTC | #1
s-paulraj@ti.com writes:

> From: Sandeep Paulraj <s-paulraj@ti.com>
>
> The USB source clock assignment was wrong.
> This patch fixes the incorrect clock.

Thanks, pushing to davinci git after adding a slightly more
descriptive changelog:

  The parent clock for the USB source clock is actually PLL1 aux
  clock, not PLL2 sysclk1.

Kevin

> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
> ---
>  arch/arm/mach-davinci/dm365.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c
> index e815174..6c948b1 100644
> --- a/arch/arm/mach-davinci/dm365.c
> +++ b/arch/arm/mach-davinci/dm365.c
> @@ -369,7 +369,7 @@ static struct clk timer3_clk = {
>  
>  static struct clk usb_clk = {
>  	.name		= "usb",
> -	.parent		= &pll2_sysclk1,
> +	.parent		= &pll1_aux_clk,
>  	.lpsc		= DAVINCI_LPSC_USB,
>  };
>  
> -- 
> 1.6.0.4
>
> _______________________________________________
> Davinci-linux-open-source mailing list
> Davinci-linux-open-source@linux.davincidsp.com
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
diff mbox

Patch

diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c
index e815174..6c948b1 100644
--- a/arch/arm/mach-davinci/dm365.c
+++ b/arch/arm/mach-davinci/dm365.c
@@ -369,7 +369,7 @@  static struct clk timer3_clk = {
 
 static struct clk usb_clk = {
 	.name		= "usb",
-	.parent		= &pll2_sysclk1,
+	.parent		= &pll1_aux_clk,
 	.lpsc		= DAVINCI_LPSC_USB,
 };