]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: davinci: aintc: remove the timer-specific irq_set_handler()
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Thu, 14 Feb 2019 14:52:14 +0000 (15:52 +0100)
committerSekhar Nori <nsekhar@ti.com>
Tue, 19 Feb 2019 14:25:19 +0000 (19:55 +0530)
I've been unable to figure out exactly why, but the IRQ_TINT1_TINT34
interrupt is being handled as level irq and it's configured in the
irq chip driver instead of set by the irq_set_type() callback.

Since this is probably some legacy hack for out-of-tree code - remove it.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/irq.c

index 2b6943731af9ef06340573708c6f624bb420fca2..92b6e653d8cb528de70a0f54e37ff96a5e39c509 100644 (file)
@@ -18,8 +18,6 @@
 #include <asm/mach/irq.h>
 #include <asm/exception.h>
 
-#include "irqs.h"
-
 #define DAVINCI_AINTC_FIQ_REG0         0x00
 #define DAVINCI_AINTC_FIQ_REG1         0x04
 #define DAVINCI_AINTC_IRQ_REG0         0x08
@@ -165,6 +163,5 @@ void __init davinci_aintc_init(const struct davinci_aintc_config *config)
                davinci_aintc_setup_gc(davinci_aintc_base + reg_off,
                                       irq_base + irq_off, 32);
 
-       irq_set_handler(DAVINCI_INTC_IRQ(IRQ_TINT1_TINT34), handle_level_irq);
        set_handle_irq(davinci_aintc_handle_irq);
 }