commit | 8e6a4c40bb6f3866548811f9f3882a627293fc2f | [log] [tgz] |
---|---|---|
author | Emilio López <emilio@elopez.com.ar> | Fri Sep 20 22:03:12 2013 -0300 |
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | Sun Nov 10 11:39:55 2013 +0100 |
tree | 74927c0c89b29a9e3f60d10666ae4a215c74e5e4 | |
parent | 12ef06afb3959e7f6f2ae8917c4750883a3e8c14 [diff] |
clk: sunxi: protect core clocks from accidental shutdown 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>