OSDN Git Service

ARM: dts: stih410-clocks: Add PROC_STFE as a critical clock
authorPeter Griffin <peter.griffin@linaro.org>
Tue, 18 Oct 2016 15:35:00 +0000 (17:35 +0200)
committerPatrice Chotard <patrice.chotard@st.com>
Thu, 20 Oct 2016 14:20:26 +0000 (16:20 +0200)
commit97a0b97f9e8197429eee5f87ce14373f73dbd9d3
treeff071196fe895c8715631fcb2e07893e55d2bdc6
parent7b25718e806476e4b286ab3a4a7244e5e909043f
ARM: dts: stih410-clocks: Add PROC_STFE as a critical clock

Once the ST frontend demux HW IP has been enabled, the clock can't
be disabled otherwise the system will hang and the board will
be unserviceable.

To allow balanced clock enable/disable calls in the driver we use
the critical clock infrastructure to take an extra reference on the
clock so the clock will never actually be disabled.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
arch/arm/boot/dts/stih410-clock.dtsi