Thread (21 messages) flat view 21 messages, 4 authors, 2021-07-16

Re: [PATCH v2 1/7] gpio: tqmx86: really make IRQ optional

From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-07-02 13:45:37
Also in: lkml

On Fri, Jul 02, 2021 at 02:23:47PM +0200, Matthias Schiffer wrote:
The tqmx86 MFD driver was passing IRQ 0 for "no IRQ" in the past. This
causes warnings with newer kernels.

Prepare the gpio-tqmx86 driver for the fixed MFD driver by handling a
missing IRQ properly.

Fixes: b868db94a6a7 ("gpio: tqmx86: Add GPIO from for this IO controller")
Signed-off-by: Matthias Schiffer <redacted>
The system i was using this on made use of interrupts, so i never
tested with it missing.

It is a shame platform_get_irq_optional() does something different to
all the other _optional() calls :-(

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help