mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-15 04:42:02 +00:00
29 lines
962 B
Diff
29 lines
962 B
Diff
From 3aade5a29e566bfc1df5b89bece35d9e0cb56d25 Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.org>
|
|
Date: Thu, 9 Feb 2017 14:33:30 +0000
|
|
Subject: [PATCH 007/277] irq-bcm2836: Avoid "Invalid trigger warning"
|
|
|
|
Initialise the level for each IRQ to avoid a warning from the
|
|
arm arch timer code.
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
|
|
---
|
|
drivers/irqchip/irq-bcm2836.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/drivers/irqchip/irq-bcm2836.c b/drivers/irqchip/irq-bcm2836.c
|
|
index e8204d9af58f..6e3fab9587b7 100644
|
|
--- a/drivers/irqchip/irq-bcm2836.c
|
|
+++ b/drivers/irqchip/irq-bcm2836.c
|
|
@@ -157,7 +157,7 @@ static void bcm2836_arm_irqchip_register_irq(int hwirq, struct irq_chip *chip)
|
|
|
|
irq_set_percpu_devid(irq);
|
|
irq_set_chip_and_handler(irq, chip, handle_percpu_devid_irq);
|
|
- irq_set_status_flags(irq, IRQ_NOAUTOEN);
|
|
+ irq_set_status_flags(irq, IRQ_NOAUTOEN | IRQ_TYPE_LEVEL_LOW);
|
|
}
|
|
|
|
static void
|
|
--
|
|
2.16.1
|
|
|