Fabien Dessenne a1d4ef1adf pinctrl: stm32: fix optional IRQ support to gpios
To act as an interrupt controller, a gpio bank relies on the
"interrupt-parent" of the pin controller.
When this optional "interrupt-parent" misses, do not create any IRQ domain.

This fixes a "NULL pointer in stm32_gpio_domain_alloc()" kernel crash when
the interrupt-parent = <exti> property is not declared in the Device Tree.

Fixes: 0eb9f683336d ("pinctrl: Add IRQ support to STM32 gpios")
Signed-off-by: Fabien Dessenne <fabien.dessenne@foss.st.com>
Link: https://lore.kernel.org/r/20220627142350.742973-1-fabien.dessenne@foss.st.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2022-06-28 16:12:40 +02:00
..
2022-05-04 23:15:21 +02:00
2022-05-04 23:15:21 +02:00
2022-05-26 14:51:38 -07:00
2022-01-30 02:55:41 +01:00
2021-09-17 00:48:45 +02:00
2021-10-14 01:22:58 +02:00
2022-02-11 02:19:47 +01:00
2020-04-28 13:26:49 +02:00
2022-05-01 23:25:10 +02:00
2020-12-15 12:13:37 -08:00