]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: tqmx86: really make IRQ optional
authorMatthias Schiffer <matthias.schiffer@ew.tq-group.com>
Fri, 16 Jul 2021 10:00:47 +0000 (12:00 +0200)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 2 Aug 2021 15:17:27 +0000 (17:17 +0200)
commit6fa7983d5c25be034f58a35be6f2686f046bd178
tree8d6641dc63d9187814b0c3dfc4e2a196deb1c1f2
parent8c5230e9dccbfb56e1b50d95d7551f854499fb7b
gpio: tqmx86: really make IRQ optional

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: a157b72bbfb4 ("gpio: tqmx86: Add GPIO from for this IO controller")
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-tqmx86.c