[PATCH 3/7] ARM: tegra: clock: Check for clk_num == 0
Olof Johansson
olof at lixom.net
Tue Feb 22 00:29:08 EST 2011
On Mon, Feb 21, 2011 at 6:39 PM, Colin Cross <ccross at android.com> wrote:
> 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 at android.com>
Acked-by: Olof Johansson <olof at lixom.net>
May I suggest a slightly more descriptive patch subject though? "ARM:
tegra: clock: prevent accidental disables of cpu clock" or similar,
maybe.
-Olof
More information about the linux-arm-kernel
mailing list