aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/remoteproc/mtk_scp_ipi.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <[email protected]>2021-12-05 11:13:49 +0000
committerMathieu Poirier <[email protected]>2021-12-06 17:17:44 +0000
commitc768968f134b9e7ab8a584ad19030a8d2c7eca2f (patch)
treeff3c4b0c6e3184c9067964cc0ecdde9ae2e979fa /drivers/remoteproc/mtk_scp_ipi.c
parentremoteproc: k3-r5: Extend support for R5F clusters on J721S2 SoCs (diff)
downloadkernel-c768968f134b9e7ab8a584ad19030a8d2c7eca2f.tar.gz
kernel-c768968f134b9e7ab8a584ad19030a8d2c7eca2f.zip
remoteproc: ingenic: Request IRQ disabled
The ingenic remoteproc driver requests its IRQ and then immediately disables it. The disable is necessary since irq_request() normally enables the IRQ. But there is a new flag IRQF_NO_AUTOEN that when specified keeps the IRQ disabled. Use this new flag rather than calling disable_irq(). This slightly reduce the boilerplate code and also avoids a theoretical race condition where the IRQ could fire between irq_request() and disable_irq(). Signed-off-by: Lars-Peter Clausen <[email protected]> Acked-by: Paul Cercueil <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mathieu Poirier <[email protected]>
Diffstat (limited to 'drivers/remoteproc/mtk_scp_ipi.c')
0 files changed, 0 insertions, 0 deletions