commit | 1be3d0537516fa42825406b4bc1291b77ed62614 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Mon Feb 21 16:44:07 2011 -0800 |
committer | Colin Cross <ccross@android.com> | Tue Feb 22 11:25:07 2011 -0800 |
tree | 4ade740dd278fd5e213bad3774f0df3721f6110c | |
parent | 421186e71000c067c2687baeffde62954a80cdcc [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>