git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM: S3C6410: update clk->parent when setting clock source
[safe/jmp/linux-2.6]
/
arch
/
arm
/
plat-s3c64xx
/
s3c6400-clock.c
diff --git
a/arch/arm/plat-s3c64xx/s3c6400-clock.c
b/arch/arm/plat-s3c64xx/s3c6400-clock.c
index
c972d2f
..
54eef93
100644
(file)
--- 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;
}