commit | 3a090284056954f382612da42ebe9f3147403ef5 | [log] [tgz] |
---|---|---|
author | Paul Walmsley <paul@pwsan.com> | Sat Jan 26 00:58:16 2013 -0700 |
committer | Paul Walmsley <paul@pwsan.com> | Tue Jan 29 14:59:57 2013 -0700 |
tree | 6e9627679444b04614577cf55ad77f8e17aed0b9 | |
parent | c4978fba6b2d4e3a584d72c067a371871fecbedc [diff] |
ARM: OMAP2+: powerdomain/clockdomain: add a per-powerdomain spinlock Add a per-powerdomain spinlock. Use that instead of the clockdomain spinlock. Add pwrdm_lock()/pwrdm_unlock() functions to allow other code to acquire or release the powerdomain spinlock without reaching directly into the struct powerdomain. Signed-off-by: Paul Walmsley <paul@pwsan.com> Cc: Jean Pihet <jean.pihet@newoldbits.com>