From mboxrd@z Thu Jan 1 00:00:00 1970 From: Santosh Shilimkar Subject: Re: [PATCH 1/2] gpio: omap: prepare and unprepare the debounce clock Date: Thu, 8 May 2014 10:40:39 -0400 Message-ID: <536B9767.80804@ti.com> References: <1398233465-8845-1-git-send-email-rnayak@ti.com> <1398233465-8845-2-git-send-email-rnayak@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bear.ext.ti.com ([192.94.94.41]:55926 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752101AbaEHOlH (ORCPT ); Thu, 8 May 2014 10:41:07 -0400 In-Reply-To: <1398233465-8845-2-git-send-email-rnayak@ti.com> Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: Rajendra Nayak , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: tony@atomide.com, paul@pwsan.com, linux-gpio@vger.kernel.org, Kevin Hilman On Wednesday 23 April 2014 02:11 AM, Rajendra Nayak wrote: > Replace the clk_enable()s with a clk_prepare_enable() and > the clk_disables()s with a clk_disable_unprepare() > > This never showed issues due to the OMAP platform code (hwmod) > leaving these clocks in clk_prepare()ed state by default. > > Reported-by: Kishon Vijay Abraham I > Signed-off-by: Rajendra Nayak > Cc: linux-gpio@vger.kernel.org > Cc: Santosh Shilimkar > Cc: Kevin Hilman > --- > drivers/gpio/gpio-omap.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > Acked-by: Santosh Shilimkar From mboxrd@z Thu Jan 1 00:00:00 1970 From: santosh.shilimkar@ti.com (Santosh Shilimkar) Date: Thu, 8 May 2014 10:40:39 -0400 Subject: [PATCH 1/2] gpio: omap: prepare and unprepare the debounce clock In-Reply-To: <1398233465-8845-2-git-send-email-rnayak@ti.com> References: <1398233465-8845-1-git-send-email-rnayak@ti.com> <1398233465-8845-2-git-send-email-rnayak@ti.com> Message-ID: <536B9767.80804@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wednesday 23 April 2014 02:11 AM, Rajendra Nayak wrote: > Replace the clk_enable()s with a clk_prepare_enable() and > the clk_disables()s with a clk_disable_unprepare() > > This never showed issues due to the OMAP platform code (hwmod) > leaving these clocks in clk_prepare()ed state by default. > > Reported-by: Kishon Vijay Abraham I > Signed-off-by: Rajendra Nayak > Cc: linux-gpio at vger.kernel.org > Cc: Santosh Shilimkar > Cc: Kevin Hilman > --- > drivers/gpio/gpio-omap.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > Acked-by: Santosh Shilimkar