diff options
author | Fabien Dessenne <[email protected]> | 2021-06-17 16:46:02 +0200 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2021-06-26 01:52:35 +0200 |
commit | db0f032512443678d30aa26c247099220e3e5aee (patch) | |
tree | 077f9c110fe32468f2635ea804081a12e0c7061c /lib/test_overflow.c | |
parent | fa99e7013827858b9cfe43ebe539b9060a7861e8 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions