Prevent auto-enabling of IRQ - the firmware should do this when ready

Signed-off-by: David Marqvar Nielsen <david.niel...@cobham.com>
---
 drivers/remoteproc/zynq_remoteproc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/remoteproc/zynq_remoteproc.c 
b/drivers/remoteproc/zynq_remoteproc.c
index 7a7d711..b4723dc 100644
--- a/drivers/remoteproc/zynq_remoteproc.c
+++ b/drivers/remoteproc/zynq_remoteproc.c
@@ -375,6 +375,8 @@ static int zynq_remoteproc_probe(struct platform_device 
*pdev)

                dev_dbg(&pdev->dev, "%d: Alloc irq: %d\n", count, tmp->irq);

+               /* Prevent auto-enabling of IRQ */
+               irq_set_status_flags(tmp->irq, IRQ_NOAUTOEN);
                /* Allocating shared IRQs will ensure that any module will
                 * use these IRQs */
                ret = request_irq(tmp->irq, zynq_remoteproc_interrupt, 0,
--
1.8.3.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to