[ARM] S3C24XX: Change clock locking to use spinlocks.
commit3d1443574a09591aaacb0100621c39d4978d5ef1
authorBen Dooks <ben-linux@fluff.org>
Tue, 21 Oct 2008 13:06:37 +0000 (21 14:06 +0100)
committerBen Dooks <ben-linux@fluff.org>
Tue, 21 Oct 2008 13:12:14 +0000 (21 14:12 +0100)
tree3167f63aae54131f71106ecd8ed4869216cae586
parent4614475aeec242c3e4c0c8f45d05faf285849878
[ARM] S3C24XX: Change clock locking to use spinlocks.

We cannot sleep if we have cpufreq pm enabled during some
of the clock operations, so change to use a spinlock to
protect the clock system.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/plat-s3c24xx/clock.c
arch/arm/plat-s3c24xx/include/plat/clock.h
arch/arm/plat-s3c24xx/s3c244x-clock.c