]> git.baikalelectronics.ru Git - kernel.git/commit
S3C64XX: Fix get_rate() for ARMCLK
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 15 Jul 2009 12:03:34 +0000 (13:03 +0100)
committerBen Dooks <ben-linux@fluff.org>
Wed, 29 Jul 2009 22:47:14 +0000 (23:47 +0100)
commit4acf9dd2c7bade635d415c7b42b6ae98dba8535f
tree00ee7edcad216189a5ff027fc7714ad459c607c8
parent733e105d801435be34cf2e69531a1d2b6d671a18
S3C64XX: Fix get_rate() for ARMCLK

If the requested clock is faster than the parent clock then the
parent clock is the closest we can get to the request so we need
to return that instead of the requested clock.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/plat-s3c64xx/s3c6400-clock.c