diff options
author | Fabien Dessenne <fabien.dessenne@foss.st.com> | 2021-06-17 16:46:02 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-06-26 01:52:35 +0200 |
commit | db0f032512443678d30aa26c247099220e3e5aee (patch) | |
tree | 077f9c110fe32468f2635ea804081a12e0c7061c /net/unix/scm.c | |
parent | fa99e7013827858b9cfe43ebe539b9060a7861e8 (diff) | |
download | linux-db0f032512443678d30aa26c247099220e3e5aee.tar.bz2 |
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>
Diffstat (limited to 'net/unix/scm.c')
0 files changed, 0 insertions, 0 deletions