ARM: OMAP2+: clockdomain: convert existing atomic usecounts into spinlock-protected...
authorPaul Walmsley <paul@pwsan.com>
Sat, 26 Jan 2013 07:58:17 +0000 (00:58 -0700)
committerPaul Walmsley <paul@pwsan.com>
Tue, 29 Jan 2013 21:59:58 +0000 (14:59 -0700)
commit92493870196f52c743330db7b545b54b2abfda82
treef4861c754544226fbba2f5756eb701a71ba82062
parent65958fb6ca7b7e504caf852e492fe554224de1ba
ARM: OMAP2+: clockdomain: convert existing atomic usecounts into spinlock-protected shorts/ints

The atomic usecounts seem to be confusing, and are no longer needed
since the operations that they are attached to really should take
place under lock.  Replace the atomic counters with simple integers,
protected by the enclosing powerdomain spinlock.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/clockdomain.c
arch/arm/mach-omap2/clockdomain.h
arch/arm/mach-omap2/cm3xxx.c
arch/arm/mach-omap2/cminst44xx.c
arch/arm/mach-omap2/pm-debug.c
arch/arm/mach-omap2/pm.c
arch/arm/mach-omap2/prm2xxx_3xxx.c
This page took 0.026778 seconds and 5 git commands to generate.