diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-12-14 08:00:25 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-12-14 08:00:25 +0000 |
commit | f9898e30fbaa7a1d9e2d5875adf43e04075783ee (patch) | |
tree | eb9da4a86b31edba389f2c1cb172c4cd85a04dc0 /target/linux | |
parent | 1f002efd98556a2f9c3e07097aec90eb75f1d925 (diff) | |
download | upstream-f9898e30fbaa7a1d9e2d5875adf43e04075783ee.tar.gz upstream-f9898e30fbaa7a1d9e2d5875adf43e04075783ee.tar.bz2 upstream-f9898e30fbaa7a1d9e2d5875adf43e04075783ee.zip |
ramips: handle OTG interrupt on the RT305x SoC
SVN-Revision: 24560
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ramips/files/arch/mips/ralink/rt305x/irq.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 acd1880f5c..0d1a040b67 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 |