aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/common.c
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2011-02-21 19:44:07 -0500
committerColin Cross <ccross@android.com>2011-02-22 14:25:07 -0500
commit1be3d0537516fa42825406b4bc1291b77ed62614 (patch)
tree4ade740dd278fd5e213bad3774f0df3721f6110c /arch/arm/mach-tegra/common.c
parent421186e71000c067c2687baeffde62954a80cdcc (diff)
ARM: tegra: clock: prevent accidental disables of cpu clock
Peripheral clocks that have no clock enable bit in the enable registers have their clk_num set to 0. Bit 0 in the clock enable registers is the CPU clock. Prevent disables on these peripheral clocks from accidentally disabling the CPU clock. Signed-off-by: Colin Cross <ccross@android.com> Acked-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-tegra/common.c')
0 files changed, 0 insertions, 0 deletions