diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2022-02-11 19:14:57 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2022-03-02 22:28:50 +0100 |
commit | 1b9855de1ef4a3f82119f9d8b054a588c7c315fb (patch) | |
tree | db17d33adb68a6aa24c50ecd077c68d96b514171 /include/linux/fpga/fpga-bridge.h | |
parent | d2206fcabdfaff3958ab67cc5b8f63257e57b889 (diff) |
misc: hi6421-spmi-pmic: Use generic_handle_irq_safe().
generic_handle_irq() is invoked from a regular interrupt service
routine. This handler will become a forced-threaded handler on
PREEMPT_RT and will be invoked with enabled interrupts. The
generic_handle_irq() must be invoked with disabled interrupts in order
to avoid deadlocks.
Instead of manually disabling interrupts before invoking use
generic_handle_irq_safe() which can be invoked with enabled and disabled
interrupts.
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions