From f72abd0a4c3298912c03befa41660d03a2e3321d Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Thu, 27 Sep 2007 16:45:46 +0900 Subject: [PATCH] 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 --- arch/sh/kernel/cpu/sh4a/setup-sh7785.c | 4 ---- 1 file changed, 4 deletions(-) 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 */ -- 2.39.5