diff options
author | Fabien Dessenne <fabien.dessenne@foss.st.com> | 2022-06-27 16:23:50 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-06-28 16:12:40 +0200 |
commit | a1d4ef1adf8bbd302067534ead671a94759687ed (patch) | |
tree | afaeacd168f873eb84105ca52f3888f35b7ca4f9 /drivers/scsi | |
parent | fbc24ebc65507feb9728dc38197f90486148dda0 (diff) |
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>
Diffstat (limited to 'drivers/scsi')
0 files changed, 0 insertions, 0 deletions