]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] S3C64XX: Fix s3c64xx_setrate_clksrc
authorWerner Almesberger <werner@openmoko.org>
Fri, 27 Feb 2009 11:03:07 +0000 (08:03 -0300)
committerBen Dooks <ben-linux@fluff.org>
Fri, 27 Feb 2009 11:34:01 +0000 (11:34 +0000)
commit4498888eaedf84f6d31cb6421bb39cce2585a042
tree455f6ff1ae9e64da5bd7b0e146f3b8479fc78b0c
parent604c710c709235d1c0090c2929dc27a4285e9ae0
[ARM] S3C64XX: Fix s3c64xx_setrate_clksrc

Some of the rate selection logic in s3c64xx_setrate_clksrc uses what
appears to be parent clock selection logic. This patch corrects it.

I also added a check for overly large dividers to prevent them from
changing unrelated clocks.

Signed-off-by: Werner Almesberger <werner@openmoko.org>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/plat-s3c64xx/s3c6400-clock.c