ARM: Kirkwood: Ensure runit clock always ticks.
authorAndrew Lunn <andrew@lunn.ch>
Thu, 19 Jul 2012 06:58:08 +0000 (08:58 +0200)
committerAndrew Lunn <andrew@lunn.ch>
Wed, 25 Jul 2012 14:50:45 +0000 (16:50 +0200)
commitf479db44d2e3d4a969897e1f5e331e5ed4ac4968
tree7e9bc90a5f5ef7686dd9dd5ba44209e41d3b1e2b
parent84a1caf1453c3d44050bd22db958af4a7f99315c
ARM: Kirkwood: Ensure runit clock always ticks.

Marvell engineers tell us:

It seems that many units use the RUNIT clock.
SPI, UART, NAND, TWSI, ...
So it's not possible to clock gate it.

Currently the SPI, NAND and TWSI driver will clk_prepaure_enable()
this clk, but since we have no idea what ... is, and turning this clk
off results in a hard lock, unconditionally enable runit.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Simon Baatz <gmbnomis@gmail.com>
arch/arm/mach-kirkwood/common.c