ramips: handle OTG interrupt on the RT305x SoC
authorGabor Juhos <juhosg@openwrt.org>
Tue, 14 Dec 2010 08:00:25 +0000 (08:00 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 14 Dec 2010 08:00:25 +0000 (08:00 +0000)
SVN-Revision: 24560

target/linux/ramips/files/arch/mips/ralink/rt305x/irq.c

index acd1880f5cab3fd3fffecef5e7b164e79c6a59aa..0d1a040b676d82cb88e21819f22b8639f8f32d26 100644 (file)
@@ -38,6 +38,9 @@ static void rt305x_intc_irq_dispatch(void)
        else if (pending & RT305X_INTC_INT_UART1)
                do_IRQ(RT305X_INTC_IRQ_UART1);
 
+       else if (pending & RT305X_INTC_INT_OTG)
+               do_IRQ(RT305X_INTC_IRQ_OTG);
+
        /* TODO: handle PIO interrupts as well */
 
        else