Commit 0b5cb32c authored by Kevin Cernekee's avatar Kevin Cernekee Committed by Jason Cooper

irqchip: bcm7120-l2: Fix missing nibble in gc->unused mask

This mask should have been 0xffff_ffff, not 0x0fff_ffff.

The change should not have an effect on current users (STB) because bits
31:27 are unused.
Signed-off-by: default avatarKevin Cernekee <cernekee@gmail.com>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Link: https://lkml.kernel.org/r/1415342669-30640-10-git-send-email-cernekee@gmail.comSigned-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent 38e3a6e8
...@@ -171,7 +171,7 @@ int __init bcm7120_l2_intc_of_init(struct device_node *dn, ...@@ -171,7 +171,7 @@ int __init bcm7120_l2_intc_of_init(struct device_node *dn,
} }
gc = irq_get_domain_generic_chip(data->domain, 0); gc = irq_get_domain_generic_chip(data->domain, 0);
gc->unused = 0xfffffff & ~data->irq_map_mask; gc->unused = 0xffffffff & ~data->irq_map_mask;
gc->reg_base = data->base; gc->reg_base = data->base;
gc->private = data; gc->private = data;
ct = gc->chip_types; ct = gc->chip_types;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment