kernel_optimize_test/drivers/pinctrl
Fabien Dessenne 31f3bb363a pinctrl: stm32: fix optional IRQ support to gpios
commit a1d4ef1adf8bbd302067534ead671a94759687ed upstream.

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: 0eb9f68333 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-07-29 17:19:06 +02:00
..
actions
aspeed pinctrl: aspeed: Fix potential NULL dereference in aspeed_pinmux_set_mux() 2022-07-21 21:20:15 +02:00
bcm pinctrl: bcm2835: implement hook for missing gpio-ranges 2022-06-09 10:21:15 +02:00
berlin
cirrus
freescale
intel pinctrl: intel: fix unexpected interrupt 2022-02-08 18:30:39 +01:00
mediatek pinctrl: mediatek: moore: Fix build error 2022-05-09 09:05:02 +02:00
meson
mvebu pinctrl: mvebu: Fix irq_of_parse_and_map() return value 2022-06-09 10:21:16 +02:00
nomadik pinctrl: nomadik: Add missing of_node_put() in nmk_pinctrl_probe 2022-04-08 14:40:28 +02:00
nuvoton pinctrl: nuvoton: npcm7xx: Use %zu printk format for ARRAY_SIZE() 2022-04-08 14:40:41 +02:00
pxa
qcom pinctrl: qcom: sdm845: Enable dual edge errata 2021-11-26 10:39:18 +01:00
renesas pinctrl: renesas: core: Fix possible null-ptr-deref in sh_pfc_map_resources() 2022-06-09 10:21:16 +02:00
samsung pinctrl: samsung: fix missing GPIOLIB on ARM64 Exynos config 2022-05-09 09:04:59 +02:00
sirf
spear
sprd
stm32 pinctrl: stm32: fix optional IRQ support to gpios 2022-07-29 17:19:06 +02:00
sunxi pinctrl: sunxi: sunxi_pconf_set: use correct offset 2022-07-12 16:32:20 +02:00
tegra
ti
uniphier
visconti
vt8500
zte
core.c pinctrl: core: fix possible memory leak in pinctrl_enable() 2021-11-18 14:03:51 +01:00
core.h
devicetree.c
devicetree.h
Kconfig
Makefile
pinconf-generic.c pinctrl: pinconf-generic: Print arguments for bias-pull-* 2022-04-08 14:40:41 +02:00
pinconf.c
pinconf.h
pinctrl-amd.c pinctrl: amd: disable and mask interrupts on probe 2021-11-02 19:48:19 +01:00
pinctrl-amd.h
pinctrl-artpec6.c
pinctrl-as3722.c
pinctrl-at91-pio4.c
pinctrl-at91.c
pinctrl-at91.h
pinctrl-axp209.c
pinctrl-bm1880.c
pinctrl-coh901.c
pinctrl-coh901.h
pinctrl-da850-pupd.c
pinctrl-da9062.c
pinctrl-digicolor.c
pinctrl-equilibrium.c pinctrl: equilibrium: Fix function addition in multiple groups 2021-11-18 14:04:20 +01:00
pinctrl-equilibrium.h
pinctrl-falcon.c
pinctrl-gemini.c
pinctrl-ingenic.c
pinctrl-lantiq.c
pinctrl-lantiq.h
pinctrl-lpc18xx.c
pinctrl-max77620.c
pinctrl-mcp23s08_i2c.c
pinctrl-mcp23s08_spi.c
pinctrl-mcp23s08.c
pinctrl-mcp23s08.h
pinctrl-ocelot.c
pinctrl-oxnas.c
pinctrl-palmas.c
pinctrl-pic32.c
pinctrl-pic32.h
pinctrl-pistachio.c pinctrl: pistachio: fix use of irq_of_parse_and_map() 2022-05-09 09:05:03 +02:00
pinctrl-rk805.c
pinctrl-rockchip.c pinctrl: rockchip: fix RK3308 pinmux bits 2022-05-09 09:05:03 +02:00
pinctrl-single.c
pinctrl-st.c
pinctrl-stmfx.c
pinctrl-sx150x.c
pinctrl-tb10x.c
pinctrl-u300.c
pinctrl-utils.c
pinctrl-utils.h
pinctrl-xway.c
pinctrl-zynq.c
pinmux.c
pinmux.h