Re: [PATCH 3/7] ARM: tegra: clock: Check for clk_num == 0
From: Olof Johansson <hidden>
Date: 2011-02-22 05:29:11
Also in:
linux-arm-kernel, lkml
From: Olof Johansson <hidden>
Date: 2011-02-22 05:29:11
Also in:
linux-arm-kernel, lkml
On Mon, Feb 21, 2011 at 6:39 PM, Colin Cross [off-list ref] 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 <redacted>
Acked-by: Olof Johansson <redacted> May I suggest a slightly more descriptive patch subject though? "ARM: tegra: clock: prevent accidental disables of cpu clock" or similar, maybe. -Olof