Re: [PATCH 3/7] ARM: tegra: clock: Check for clk_num == 0

From: Olof Johansson
Date: Tue Feb 22 2011 - 00:29:14 EST


On Mon, Feb 21, 2011 at 6:39 PM, Colin Cross <ccross@xxxxxxxxxxx> 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@xxxxxxxxxxx>

Acked-by: Olof Johansson <olof@xxxxxxxxx>

May I suggest a slightly more descriptive patch subject though? "ARM:
tegra: clock: prevent accidental disables of cpu clock" or similar,
maybe.


-Olof
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/