Re: [PATCH for next v1 2/2] gpio: grgpio: Replace spin_lock_irqsave with spin_lock in grgpio_irq_handler()
From: Andy Shevchenko <hidden>
Date: 2021-02-10 10:56:45
Also in:
lkml
From: Andy Shevchenko <hidden>
Date: 2021-02-10 10:56:45
Also in:
lkml
On Mon, Feb 8, 2021 at 10:58 AM Luo Jiaxing [off-list ref] wrote:
There is no need to use API with _irqsave in grgpio_irq_handler(), because it already be in a irq-disabled context.
It seems you haven't read the code. The handler here is shared. And lock there is about something else that we discussed in the cover letter. Moreover, the driver is quite outdated and code inside is horrible according to the modern APIs / standards. I would rather remove the driver completely. -- With Best Regards, Andy Shevchenko