OSDN Git Service

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)
commit682e2b7d45878586ce84f6993da0b8a2981a399d
tree7d64665810dd9d2783067714e49f4c51c752b57b
parentf3e0b724cc70ef5ee2a6e0d9dfafa2328c294ab3
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