From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753193AbdCNPG4 convert rfc822-to-8bit (ORCPT ); Tue, 14 Mar 2017 11:06:56 -0400 Received: from gloria.sntech.de ([95.129.55.99]:34396 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752322AbdCNPGw (ORCPT ); Tue, 14 Mar 2017 11:06:52 -0400 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Linus Walleij Cc: Jeffy Chen , "linux-gpio@vger.kernel.org" , Brian Norris , Douglas Anderson , Tomasz Figa , "open list:ARM/Rockchip SoC..." , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH] pinctrl: rockchip: add irq_enable & irq_disable ops Date: Tue, 14 Mar 2017 16:06:40 +0100 Message-ID: <1586348.DzvzNKqtLI@diego> User-Agent: KMail/5.2.3 (Linux/4.8.0-2-amd64; KDE/5.27.0; x86_64; ; ) In-Reply-To: References: <1488434212-6567-1-git-send-email-jeffy.chen@rock-chips.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="iso-8859-1" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Am Dienstag, 14. März 2017, 16:03:48 CET schrieb Linus Walleij: > On Thu, Mar 2, 2017 at 6:56 AM, Jeffy Chen wrote: > > Currently we are trying to enable/disable the clk of irq's gpio bank when > > unmask/mask irq. But the kernel's "lazy disable approach" will skip > > masking > > irq when the irq chip doesn't support irq_disable ops. > > > > So we may hit this case: > > irq_enable-> enable clk > > irq_disable-> noop > > irq_enable-> enable clk again > > irq_disable-> noop > > > > Signed-off-by: Jeffy Chen > > Heiko, can you look at this patch? This (and all the other pending pinctrl patches) are in my queue, but right now I'm still hunting rockchip regressions in 4.11-rc, so haven't found the time to review yet. Heiko