projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a44c1d7
)
ARM: riscpc: fix lack of keyboard interrupts after irq conversion
author
Russell King
<rmk+kernel@armlinux.org.uk>
Sat, 27 Apr 2019 21:43:49 +0000
(22:43 +0100)
committer
Russell King
<rmk+kernel@armlinux.org.uk>
Thu, 9 May 2019 16:16:25 +0000
(17:16 +0100)
Fix lack of keyboard interrupts for RiscPC due to incorrect conversion.
Fixes: e8d36d5dbb6a ("ARM: kill off set_irq_flags usage")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/mach-rpc/irq.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rpc/irq.c
b/arch/arm/mach-rpc/irq.c
index b8a61cb112073643256dbb693a8351e07c1f4335..7f0f40178634451f007fcf570397bd329c333f5d 100644
(file)
--- a/
arch/arm/mach-rpc/irq.c
+++ b/
arch/arm/mach-rpc/irq.c
@@
-118,7
+118,7
@@
extern unsigned char rpc_default_fiq_start, rpc_default_fiq_end;
void __init rpc_init_irq(void)
{
- unsigned int irq, clr, set
= 0
;
+ unsigned int irq, clr, set;
iomd_writeb(0, IOMD_IRQMASKA);
iomd_writeb(0, IOMD_IRQMASKB);
@@
-130,6
+130,7
@@
void __init rpc_init_irq(void)
for (irq = 0; irq < NR_IRQS; irq++) {
clr = IRQ_NOREQUEST;
+ set = 0;
if (irq <= 6 || (irq >= 9 && irq <= 15))
clr |= IRQ_NOPROBE;