[ARM] S3C24XX: Change clock locking to use spinlocks.
authorBen Dooks <ben-linux@fluff.org>
Tue, 21 Oct 2008 13:06:37 +0000 (14:06 +0100)
committerBen Dooks <ben-linux@fluff.org>
Mon, 15 Dec 2008 21:46:07 +0000 (21:46 +0000)
commitc3391e36d697c997b6afeb045071e0be95219a3e
tree8bd9c12dd364519347473277496da3f3f1a54c9c
parent305554768011707f33f437b96f999f812ba2a7e4
[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