commit | 92493870196f52c743330db7b545b54b2abfda82 | [log] [tgz] |
---|---|---|
author | Paul Walmsley <paul@pwsan.com> | Sat Jan 26 00:58:17 2013 -0700 |
committer | Paul Walmsley <paul@pwsan.com> | Tue Jan 29 14:59:58 2013 -0700 |
tree | f4861c754544226fbba2f5756eb701a71ba82062 | |
parent | 65958fb6ca7b7e504caf852e492fe554224de1ba [diff] |
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>