clk: sunxi: protect core clocks from accidental shutdown
authorEmilio López <emilio@elopez.com.ar>
Sat, 21 Sep 2013 01:03:12 +0000 (22:03 -0300)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 10 Nov 2013 10:39:55 +0000 (11:39 +0100)
Some important clocks may get disabled as a side effect of another clock
being disabled, because they have no consumers. This patch implements a
mechanism so those clocks can be claimed by the driver and therefore
remain enabled at all times.

Signed-off-by: Emilio López <emilio@elopez.com.ar>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi/clk-sunxi.c

Simple merge