Re: [RFC/RFT PATCH 1/3] gpio: tegra: remove gpio_to_irq() from hw irq handlers
From: Linus Walleij
Date: Tue Aug 01 2017 - 03:49:23 EST
On Sun, Jul 9, 2017 at 12:44 AM, Grygorii Strashko
> gpio_to_irq() API expected to be used by GPIO consumers and
> not drivers and there are no guarantee that its gpiolib implementation
> is irq safe.
> Signed-off-by: Grygorii Strashko <grygorii.strashko@xxxxxx>
This is obviously the right way to do it.
Tegra people: please test.