s3c6410: update clk->parent when setting clock source
Subsystems (4)
PATCH 2/4 s3c6410: update clk->parent when setting clock source
From: Thomas Abraham <[email protected]>
This ensures the clock hierarchy data structures are updated when we change the clock source in the actual hardware registers.
Signed-off-by Thomas Abraham <[email protected]>
--- arch/arm/plat-s3c64xx/s3c6400-clock.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/plat-s3c64xx/s3c6400-clock.c +2 -0
@@ -328,6 +328,8 @@ static int s3c64xx_setparent_clksrc(struct clk *clk, struct clk *parent) clksrc |= src_nr << sclk->shift;__raw_writel (clksrc,S3C_CLK_SRC ); + + clk->parent = parent;return 0 ; }
Signature · 1 line
1.5.3.4
Ben Dooks
AppliedPATCH 2/4 s3c6410: update clk->parent when setting clock source
Quoted 5 lines · On Tue, Sep 08, 2009 at 02:30:48PM +0900, [email protected] wrote:
From: Thomas Abraham <[email protected]>
This ensures the clock hierarchy data structures are updated when we change the clock source in the actual hardware registers.
Applied to next-s3c64xx-fixes.
Quoted 26 lines
Signed-off-by Thomas Abraham <[email protected]>--- arch/arm/plat-s3c64xx/s3c6400-clock.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)arch/arm/plat-s3c64xx/s3c6400-clock.c +2
-0@@ -328,6 +328,8 @@ static int s3c64xx_setparent_clksrc(struct clk *clk, struct clk *parent) clksrc |= src_nr << sclk->shift;__raw_writel (clksrc,S3C_CLK_SRC ); + + clk->parent = parent;return 0 ; }Signature · 7 lines
1.5.3.4 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Signature · 5 lines
-- Ben Q: What's a light-year? A: One-third less calories than a regular year.