* [PATCH 2/4] s3c6410: update clk->parent when setting clock source
@ 2009-09-08 5:30 thomas.ab at samsung.com
2009-09-15 23:57 ` Ben Dooks
0 siblings, 1 reply; 2+ messages in thread
From: thomas.ab at samsung.com @ 2009-09-08 5:30 UTC (permalink / raw)
To: linux-arm-kernel
From: Thomas Abraham <thomas.ab@samsung.com>
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 <thomas.ab@samsung.com>
---
arch/arm/plat-s3c64xx/s3c6400-clock.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/plat-s3c64xx/s3c6400-clock.c b/arch/arm/plat-s3c64xx/s3c6400-clock.c
index c972d2f..54eef93 100644
--- a/arch/arm/plat-s3c64xx/s3c6400-clock.c
+++ b/arch/arm/plat-s3c64xx/s3c6400-clock.c
@@ -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;
}
--
1.5.3.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 2/4] s3c6410: update clk->parent when setting clock source
2009-09-08 5:30 [PATCH 2/4] s3c6410: update clk->parent when setting clock source thomas.ab at samsung.com
@ 2009-09-15 23:57 ` Ben Dooks
0 siblings, 0 replies; 2+ messages in thread
From: Ben Dooks @ 2009-09-15 23:57 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Sep 08, 2009 at 02:30:48PM +0900, thomas.ab at samsung.com wrote:
> From: Thomas Abraham <thomas.ab@samsung.com>
>
> 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.
> Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
> ---
> arch/arm/plat-s3c64xx/s3c6400-clock.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/plat-s3c64xx/s3c6400-clock.c b/arch/arm/plat-s3c64xx/s3c6400-clock.c
> index c972d2f..54eef93 100644
> --- a/arch/arm/plat-s3c64xx/s3c6400-clock.c
> +++ b/arch/arm/plat-s3c64xx/s3c6400-clock.c
> @@ -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;
> }
>
> --
> 1.5.3.4
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
--
--
Ben
Q: What's a light-year?
A: One-third less calories than a regular year.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-15 23:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-08 5:30 [PATCH 2/4] s3c6410: update clk->parent when setting clock source thomas.ab at samsung.com
2009-09-15 23:57 ` Ben Dooks
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).