Re: [PATCH] gpio: thunderx: fix irq_request_resources

From: Linus Walleij
Date: Thu Mar 12 2020 - 09:42:20 EST


On Wed, Mar 11, 2020 at 4:43 PM Tim Harvey <tharvey@xxxxxxxxxxxxx> wrote:

> If there are no parent resources do not call irq_chip_request_resources_parent
> at all as this will return an error.
>
> This resolves a regression where devices using a thunderx gpio as an interrupt
> would fail probing.
>
> Fixes: 0d04d0c ("gpio: thunderx: Use the default parent apis for {request,release}_resources")
> Signed-off-by: Tim Harvey <tharvey@xxxxxxxxxxxxx>

This patch does not apply to the mainline kernel or v5.6-rc1.

Please verify:
1. If the problem is still in v5.6 (we refactored the driver to
use GPIOLIB_IRQCHIP)

2. If not, only propose it for linux-stable v5.5 etc.

Yours,
Linus Walleij