Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1600561

Re: [PATCH] pinctrl: rockchip: add irq_enable & irq_disable ops

From Heiko Stübner <heiko@sntech.de>
Newsgroups linux.kernel
Subject Re: [PATCH] pinctrl: rockchip: add irq_enable & irq_disable ops
Date 2017-03-14 16:10 +0100
Message-ID <tkWfh-1T2-61@gated-at.bofh.it> (permalink)
References <tgrWp-6db-7@gated-at.bofh.it> <tkWfh-1T2-63@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <jeffy.chen@rock-chips.com> 
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 <jeffy.chen@rock-chips.com>
> 
> 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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] pinctrl: rockchip: add irq_enable & irq_disable ops Heiko Stübner <heiko@sntech.de> - 2017-03-14 16:10 +0100

csiph-web