Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941296AbcJTNvV (ORCPT ); Thu, 20 Oct 2016 09:51:21 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:11312 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933043AbcJTNvT (ORCPT ); Thu, 20 Oct 2016 09:51:19 -0400 Subject: Re: [PATCH] ARM: sti: stih410-clocks: Add PROC_STFE as a critical clock To: Peter Griffin , , , References: <1476804957-24000-1-git-send-email-peter.griffin@linaro.org> CC: , From: Patrice Chotard Message-ID: <5d44e490-f6c2-79d4-98da-1d3c7543b1a2@st.com> Date: Thu, 20 Oct 2016 15:50:10 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <1476804957-24000-1-git-send-email-peter.griffin@linaro.org> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.48.1.66] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-10-20_07:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1175 Lines: 37 On 10/18/2016 05:35 PM, Peter Griffin wrote: > 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 > --- > arch/arm/boot/dts/stih410-clock.dtsi | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/stih410-clock.dtsi b/arch/arm/boot/dts/stih410-clock.dtsi > index 8598eff..07c8ef9 100644 > --- a/arch/arm/boot/dts/stih410-clock.dtsi > +++ b/arch/arm/boot/dts/stih410-clock.dtsi > @@ -208,7 +208,8 @@ > "clk-clust-hades", > "clk-hwpe-hades", > "clk-fc-hades"; > - clock-critical = , > + clock-critical = , > + , > , > , > , > Acked-by: Patrice Chotard Applied on sti-dt-for-4.10 branch Thanks