projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ab7ffe
)
[POWERPC] mpc52xx_pic: fix main interrupt masking
author
Domen Puncer
<domen.puncer@telargo.com>
Tue, 10 Apr 2007 22:27:49 +0000
(
00:27
+0200)
committer
Paul Mackerras
<paulus@samba.org>
Wed, 11 Apr 2007 16:39:58 +0000
(
02:39
+1000)
The bit setting was off by one.
Tested with RTC and GPIO_WKUP interrupts.
Signed-off-by: Domen Puncer <domen.puncer@telargo.com>
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/52xx/mpc52xx_pic.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/52xx/mpc52xx_pic.c
b/arch/powerpc/platforms/52xx/mpc52xx_pic.c
index c75192567e5573e2292dfb98f4fc7f433552e1d1..fbfff95b4437e9b92113c9f9929d123fe8ad6291 100644
(file)
--- a/
arch/powerpc/platforms/52xx/mpc52xx_pic.c
+++ b/
arch/powerpc/platforms/52xx/mpc52xx_pic.c
@@
-128,7
+128,7
@@
static void mpc52xx_main_mask(unsigned int virq)
pr_debug("%s: irq=%x. l2=%d\n", __func__, irq, l2irq);
- io_be_setbit(&intr->main_mask, 1
5
- l2irq);
+ io_be_setbit(&intr->main_mask, 1
6
- l2irq);
}
static void mpc52xx_main_unmask(unsigned int virq)
@@
-141,7
+141,7
@@
static void mpc52xx_main_unmask(unsigned int virq)
pr_debug("%s: irq=%x. l2=%d\n", __func__, irq, l2irq);
- io_be_clrbit(&intr->main_mask, 1
5
- l2irq);
+ io_be_clrbit(&intr->main_mask, 1
6
- l2irq);
}
static struct irq_chip mpc52xx_main_irqchip = {