ARM: tegra: clock: Convert global lock to a lock per clock
authorColin Cross <ccross@android.com>
Sun, 13 Feb 2011 00:43:05 +0000 (16:43 -0800)
committerColin Cross <ccross@android.com>
Mon, 21 Feb 2011 08:10:43 +0000 (00:10 -0800)
Give each clock its own lock, and remove all lock traversals from
parent to child clocks to prevent AB-BA deadlocks.

This brings the locking in line with the common struct clk
patches and should make conversion simple.

Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Colin Cross <ccross@android.com>

No differences found