]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: S3C64XX: Avoid announcing clksrc clocks twice
authorBen Dooks <ben-linux@fluff.org>
Wed, 9 Dec 2009 00:08:35 +0000 (00:08 +0000)
committerBen Dooks <ben-linux@fluff.org>
Fri, 15 Jan 2010 08:10:10 +0000 (17:10 +0900)
commit7d49de0d1c2a60083a13fbc63bb25fc3ac4c8961
tree7d64665810dd9d2783067714e49f4c51c752b57b
parent2e5bf16e3d26f4b07922424f5d5f973ff1a8456d
ARM: S3C64XX: Avoid announcing clksrc clocks twice

The new code calls the clock setup code on registration which
can be before the clock system has been fully initialised. The
following code re-does this setup at the end of the clock
registration and thus we get two printings.

Update the calls to only print on the last pass or when doing
the necessary resume work.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/plat-s3c64xx/s3c6400-clock.c
arch/arm/plat-samsung/clock-clksrc.c
arch/arm/plat-samsung/include/plat/clock-clksrc.h