[PATCH] ARM: Kirkwood: Fix crash when neither NAND nor SPI

Arnd Bergmann arnd at arndb.de
Fri Jun 8 11:34:13 EDT 2012


On Friday 08 June 2012, Andrew Lunn wrote:
> Both NAND and SPI make use of the RUNIT clk. However, if neither NAND
> nor SPI is used in the system, RUNIT clock gets turned off, and the
> SoC hard locks. It appears something else in the SoC, which is not
> documented, is also using RUNIT. So prepare and enable RUNIT clock in
> kirkwood_clk_init().
> 
> Signed-off-by: Andrew Lunn <andrew at lunn.ch>

This looks bogus, because if you really need to enable that clock all
the time, we don't even need a way to turn it off.

Do you need a similar change with the 3.4 kernel before the big
change to the clock framework? If not, I would guess that there
is some other problem.

	Arnd



More information about the linux-arm-kernel mailing list