Re: [PATCH] gpio: altera: change to platform_get_irq_optional to avoid false-positive error

From: Bartosz Golaszewski
Date: Thu Jan 09 2020 - 04:38:52 EST


År., 8 sty 2020 o 17:16 Ooi, Joyce <joyce.ooi@xxxxxxxxx> napisaÅ(a):
>
> This patch switches to platform_get_irq_optional() from
> platform_get_irq() as it causes a false-positive error such as 'IRQ
> index 0 not found' when IRQ is not used. The IRQ usage is optional in
> this gpio-altera driver, so the error log is undesirable.
>
> Signed-off-by: Ooi, Joyce <joyce.ooi@xxxxxxxxx>

Patch applied, thanks!

Bartosz