From 779b986847784c3f74fcffabe2b0344b5f49af0a Mon Sep 17 00:00:00 2001 From: juhosg Date: Tue, 14 Dec 2010 08:00:25 +0000 Subject: ramips: handle OTG interrupt on the RT305x SoC git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24560 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/files/arch/mips/ralink/rt305x/irq.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'target/linux/ramips/files/arch/mips') diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/irq.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/irq.c index acd1880f5..0d1a040b6 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/irq.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/irq.c @@ -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 -- cgit v1.2.3