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:
56af041
)
irqchip: sun4i: Fix a comment about mask register initialization
author
Hans de Goede
<
[email protected]
>
Thu, 13 Mar 2014 18:03:53 +0000
(19:03 +0100)
committer
Thomas Gleixner
<
[email protected]
>
Fri, 14 Mar 2014 12:43:33 +0000
(13:43 +0100)
The comment was claiming that we were masking all irqs, while the code actually
*un*masks all of them.
Signed-off-by: Hans de Goede <
[email protected]
>
Acked-by: Maxime Ripard <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Thomas Gleixner <
[email protected]
>
drivers/irqchip/irq-sun4i.c
patch
|
blob
|
history
diff --git
a/drivers/irqchip/irq-sun4i.c
b/drivers/irqchip/irq-sun4i.c
index 7ae85ec61e56ee022a349f56f88640b0cb2ddf8f..60a28c69c65b4d60e6708af90057845d5a2db4eb 100644
(file)
--- a/
drivers/irqchip/irq-sun4i.c
+++ b/
drivers/irqchip/irq-sun4i.c
@@
-109,7
+109,7
@@
static int __init sun4i_of_init(struct device_node *node,
writel(0, sun4i_irq_base + SUN4I_IRQ_ENABLE_REG(1));
writel(0, sun4i_irq_base + SUN4I_IRQ_ENABLE_REG(2));
- /*
Mask all the interrupts
*/
+ /*
Unmask all the interrupts, ENABLE_REG(x) is used for masking
*/
writel(0, sun4i_irq_base + SUN4I_IRQ_MASK_REG(0));
writel(0, sun4i_irq_base + SUN4I_IRQ_MASK_REG(1));
writel(0, sun4i_irq_base + SUN4I_IRQ_MASK_REG(2));