From: Paul Mundt Date: Thu, 27 Sep 2007 07:45:46 +0000 (+0900) Subject: sh: Fix plat_irq_setup_pins() for SH7785. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f72abd0a4c3298912c03befa41660d03a2e3321d;p=linux-beck.git sh: Fix plat_irq_setup_pins() for SH7785. 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 --- diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7785.c b/arch/sh/kernel/cpu/sh4a/setup-sh7785.c index 267114d4127c..c65e1b522186 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7785.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7785.c @@ -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 */