[PATCH] remoteproc: xilinx: Prevent auto-enabling of IRQ

From: Nielsen, David Marqvar
Date: Wed Mar 04 2015 - 04:44:19 EST


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

Signed-off-by: David Marqvar Nielsen <david.nielsen@xxxxxxxxxx>
---
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/