aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-12-14 08:00:25 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-12-14 08:00:25 +0000
commit91714565c1107860f8de2d3f30c9e84420ad6983 (patch)
tree20910aadd2ca49871ddb0d9a29b56d9ad91052f1 /target/linux/ramips
parent491072cccf136b3857f382db89dbc64edf6a6f3d (diff)
downloadupstream-91714565c1107860f8de2d3f30c9e84420ad6983.tar.gz
upstream-91714565c1107860f8de2d3f30c9e84420ad6983.tar.bz2
upstream-91714565c1107860f8de2d3f30c9e84420ad6983.zip
ramips: handle OTG interrupt on the RT305x SoC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24560 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt305x/irq.c3
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