diff options
author | Marek Vasut <[email protected]> | 2022-04-15 23:54:10 +0200 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2022-04-21 16:30:30 +0200 |
commit | e74200ebf7c4f6a7a7d1be9f63833ddba251effa (patch) | |
tree | ef2fbeab28889635090e73a1e331229eb964a3a1 /lib/mpi/mpi-sub-ui.c | |
parent | 08b7cf134eafca3b38e818d934b00dfe6b5b0fb4 (diff) |
pinctrl: stm32: Do not call stm32_gpio_get() for edge triggered IRQs in EOI
The stm32_gpio_get() should only be called for LEVEL triggered interrupts,
skip calling it for EDGE triggered interrupts altogether to avoid wasting
CPU cycles in EOI handler. On this platform, EDGE triggered interrupts are
the majority and LEVEL triggered interrupts are the exception no less, and
the CPU cycles are not abundant.
Fixes: 47beed513a85b ("pinctrl: stm32: Add level interrupt support to gpio irq chip")
Signed-off-by: Marek Vasut <[email protected]>
Cc: Alexandre Torgue <[email protected]>
Cc: Fabien Dessenne <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: [email protected]
Cc: [email protected]
To: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions