projects
/
openwrt
/
staging
/
chunkeey.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ramips: handle OTG interrupt on the RT305x SoC
[openwrt/staging/chunkeey.git]
/
target
/
linux
/
ramips
/
files
/
arch
/
mips
/
ralink
/
rt305x
/
irq.c
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 acd1880f5cab3fd3fffecef5e7b164e79c6a59aa..0d1a040b676d82cb88e21819f22b8639f8f32d26 100644
(file)
--- 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