summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2412/clock.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-01-28 13:01:31 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-01-28 14:20:52 +0100
commitddd870bdb722280bd5af1682d82557d1787ac90c (patch)
tree691cd356f83408c05777258125012232943d98e7 /arch/arm/mach-s3c2412/clock.c
parent[ARM] 4790/1: S3C2412: Fix parent selection for msysclk. (diff)
downloadlinux-ddd870bdb722280bd5af1682d82557d1787ac90c.tar.xz
linux-ddd870bdb722280bd5af1682d82557d1787ac90c.zip
[ARM] 4791/1: S3C2412: Make fclk a parent of msysclk
In the S3C2412 fclk is derived from msysclk, not straight from the MPLL output. Set clk_f.parent appropriately. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to '')
-rw-r--r--arch/arm/mach-s3c2412/clock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2412/clock.c b/arch/arm/mach-s3c2412/clock.c
index 0f752500cd5b..2697a65ba727 100644
--- a/arch/arm/mach-s3c2412/clock.c
+++ b/arch/arm/mach-s3c2412/clock.c
@@ -684,6 +684,8 @@ int __init s3c2412_baseclk_add(void)
clk_usb_bus.parent = &clk_usbsrc;
clk_usb_bus.rate = 0x0;
+ clk_f.parent = &clk_msysclk;
+
s3c2412_clk_initparents();
for (ptr = 0; ptr < ARRAY_SIZE(clks); ptr++) {