ARM: tegra: clock: Disable clocks left on by bootloader
authorColin Cross <ccross@android.com>
Mon, 21 Feb 2011 23:47:24 +0000 (15:47 -0800)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:34:13 +0000 (21:34 -0800)
commit50983012b693831e04c73741de5d31496945c144
treecfc2793f89a869a76fbf93babe62633c7cb05a11
parentf8f07bb03a90aefe7edc5f7bc7df2b86c7fe4c9a
ARM: tegra: clock: Disable clocks left on by bootloader

Iterates through all clocks, disabling any for which the
refcount is 0 but the clock init detected the bootloader
left the clock on.  Can be disabled with command line
tegra_keep_boot_clocks

Signed-off-by: Colin Cross <ccross@android.com>
arch/arm/mach-tegra/clock.c