projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2c9c78
)
MIPS: lantiq: dont register irq_chip for the irq cascade
author
John Crispin
<blogic@openwrt.org>
Thu, 16 Aug 2012 08:09:21 +0000
(08:09 +0000)
committer
John Crispin
<blogic@openwrt.org>
Wed, 22 Aug 2012 22:08:17 +0000
(
00:08
+0200)
We dont want to register the irq_chip for the MIPS IRQ cascade.
Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/4230/
arch/mips/lantiq/irq.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/lantiq/irq.c
b/arch/mips/lantiq/irq.c
index 0cec43dc3f607baeb58ab617b0561f09f7f5c1f4..87f15d64afa238ba3dea402c106c7eb0b3d35d06 100644
(file)
--- a/
arch/mips/lantiq/irq.c
+++ b/
arch/mips/lantiq/irq.c
@@
-297,6
+297,9
@@
static int icu_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hw)
struct irq_chip *chip = <q_irq_type;
int i;
+ if (hw < MIPS_CPU_IRQ_CASCADE)
+ return 0;
+
for (i = 0; i < exin_avail; i++)
if (hw == ltq_eiu_irq[i])
chip = <q_eiu_type;