]> git.karo-electronics.de Git - linux-beck.git/commitdiff
sh: Fix plat_irq_setup_pins() for SH7785.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 27 Sep 2007 07:45:46 +0000 (16:45 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 27 Sep 2007 07:45:46 +0000 (16:45 +0900)
There was some debug code left in here that caused the pin changes
to never be hit. Kill that off, and all is well.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh4a/setup-sh7785.c

index 267114d4127ca333b116997dace83140f125839d..c65e1b52218648862cfbfcd7d3436731f35d8def 100644 (file)
@@ -312,10 +312,6 @@ void __init plat_irq_setup(void)
 
 void __init plat_irq_setup_pins(int mode)
 {
-       ctrl_outl(0xc0000000, INTC_INTMSKCLR1);
-       ctrl_outl(0xfffefffe, INTC_INTMSKCLR2);
-       return;
-
        switch (mode) {
        case IRQ_MODE_IRQ7654:
                /* select IRQ mode for IRL7-4 */