linux/drivers/pinctrl/stm32
Fabien Dessenne db0f032512 pinctrl: stm32: check for IRQ MUX validity during alloc()
Considering the following irq_domain_ops call chain:
- .alloc() is called when a clients calls platform_get_irq() or
  gpiod_to_irq()
- .activate() is called next, when the clients calls
  request_threaded_irq()
Check for the IRQ MUX conflict during the first stage (alloc instead of
activate). This avoids to provide the client with an IRQ that can't be
used.

Signed-off-by: Fabien Dessenne <fabien.dessenne@foss.st.com>
Link: https://lore.kernel.org/r/20210617144602.2557619-1-fabien.dessenne@foss.st.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2021-06-26 01:52:35 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile pinctrl: stm32: add STM32F769 MCU support 2018-01-22 09:28:08 +01:00
pinctrl-stm32.c pinctrl: stm32: check for IRQ MUX validity during alloc() 2021-06-26 01:52:35 +02:00
pinctrl-stm32.h pinctrl: stm32: Use the correct style for SPDX License Identifier 2019-12-12 11:33:51 +01:00
pinctrl-stm32f429.c pinctrl: stm32: Fix copyright 2017-12-02 16:23:08 +01:00
pinctrl-stm32f469.c pinctrl: stm32: Fix copyright 2017-12-02 16:23:08 +01:00
pinctrl-stm32f746.c pinctrl: stm32: Fix copyright 2017-12-02 16:23:08 +01:00
pinctrl-stm32f769.c pinctrl: stm32: add STM32F769 MCU support 2018-01-22 09:28:08 +01:00
pinctrl-stm32h743.c pinctrl: stm32: Fix copyright 2017-12-02 16:23:08 +01:00
pinctrl-stm32mp157.c pinctrl: stm32: Enable suspend/resume for stm32mp157c SoC 2019-05-24 13:21:45 +02:00