diff options
| author | Fabien Dessenne <[email protected]> | 2021-06-17 14:46:02 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2021-06-25 23:52:35 +0000 |
| commit | db0f032512443678d30aa26c247099220e3e5aee (patch) | |
| tree | 077f9c110fe32468f2635ea804081a12e0c7061c /tools/perf/scripts/python/sched-migration.py | |
| parent | pinctrl: zynqmp: some code cleanups (diff) | |
| download | kernel-db0f032512443678d30aa26c247099220e3e5aee.tar.gz kernel-db0f032512443678d30aa26c247099220e3e5aee.zip | |
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 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
