ARM: tegra: clock: Refcount periph clock enables
authorColin Cross <ccross@android.com>
Thu, 21 Oct 2010 02:19:58 +0000 (19:19 -0700)
committerColin Cross <ccross@android.com>
Tue, 22 Feb 2011 19:22:24 +0000 (11:22 -0800)
commit78f379b574dcbe656fa21ea72e95f8dff232e233
treef76ccb9312f911d51c9c4d168f6ce706fd2df148
parent9c7dc562cd78784f54261b9bedb44e8b0056f729
ARM: tegra: clock: Refcount periph clock enables

Some peripheral clocks share enable bits.  Refcount the enables so
that calling clk_disable on one clock will not turn off another
clock.

Signed-off-by: Colin Cross <ccross@android.com>
Acked-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-tegra/tegra2_clocks.c