[ARM] 4790/1: S3C2412: Fix parent selection for msysclk.
commitcca851d7b4d87f3a644d3381930dc737890bd9ac
authorBen Dooks <ben-linux@fluff.org>
Mon, 28 Jan 2008 12:01:30 +0000 (28 13:01 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 28 Jan 2008 13:20:52 +0000 (28 13:20 +0000)
tree0db760e113bac0bd0b97940731e999a84f6323a1
parente95f52cd3b664eaa9c2b2b123f2a339ae0f1a92b
[ARM] 4790/1: S3C2412: Fix parent selection for msysclk.

The msysclk clock was checking for the wrong PLL for the
parent in s3c2412_setparent_msysclk(), trying the UPLL instead
of the MPLL output.

Also ensure the mpll and fclks are at the same rate at init time.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-s3c2412/clock.c
arch/arm/mach-s3c2412/s3c2412.c