diff options
author | Jinjie Ruan <[email protected]> | 2024-09-12 11:41:47 +0800 |
---|---|---|
committer | Kevin Hilman <[email protected]> | 2024-10-04 14:25:48 -0700 |
commit | 16a0a69244240cfa32c525c021c40f85e090557a (patch) | |
tree | 78fda445359dc14425bccaadea14d7ce910c8a8b /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 9852d85ec9d492ebef56dc5f229416c925758edc (diff) |
soc: ti: smartreflex: Use IRQF_NO_AUTOEN flag in request_irq()
If request_irq() fails in sr_late_init(), there is no need to enable
the irq, and if it succeeds, disable_irq() after request_irq() still has
a time gap in which interrupts can come.
request_irq() with IRQF_NO_AUTOEN flag will disable IRQ auto-enable when
request IRQ.
Fixes: 1279ba5916f6 ("OMAP3+: SR: disable interrupt by default")
Signed-off-by: Jinjie Ruan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kevin Hilman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions