Re: [PATCH] pinctrl: qcom: Move clearing pending IRQ to .irq_request_resources callback

2020-11-11 Thread Doug Anderson
Hi, On Wed, Nov 4, 2020 at 11:38 PM Maulik Shah wrote: > > When GPIOs that are routed to PDC are used as output they can still latch > the IRQ pending at GIC. As a result the spurious IRQ was handled when the > client driver change the direction to input to starts using it as IRQ. > > Currently s

Re: [PATCH] pinctrl: qcom: Move clearing pending IRQ to .irq_request_resources callback

2020-11-10 Thread Bjorn Andersson
On Tue 10 Nov 07:31 CST 2020, Linus Walleij wrote: > On Thu, Nov 5, 2020 at 8:38 AM Maulik Shah wrote: > > > When GPIOs that are routed to PDC are used as output they can still latch > > the IRQ pending at GIC. As a result the spurious IRQ was handled when the > > client driver change the direct

Re: [PATCH] pinctrl: qcom: Move clearing pending IRQ to .irq_request_resources callback

2020-11-10 Thread Linus Walleij
On Thu, Nov 5, 2020 at 8:38 AM Maulik Shah wrote: > When GPIOs that are routed to PDC are used as output they can still latch > the IRQ pending at GIC. As a result the spurious IRQ was handled when the > client driver change the direction to input to starts using it as IRQ. > > Currently such err

[PATCH] pinctrl: qcom: Move clearing pending IRQ to .irq_request_resources callback

2020-11-04 Thread Maulik Shah
When GPIOs that are routed to PDC are used as output they can still latch the IRQ pending at GIC. As a result the spurious IRQ was handled when the client driver change the direction to input to starts using it as IRQ. Currently such erroneous latched IRQ are cleared with .irq_enable callback howe