OSDN Git Service

irqchip: bcm7120-l2: Make sure all register accesses use base+offset
authorKevin Cernekee <cernekee@gmail.com>
Fri, 7 Nov 2014 06:44:23 +0000 (22:44 -0800)
committerJason Cooper <jason@lakedaemon.net>
Sun, 9 Nov 2014 04:02:45 +0000 (04:02 +0000)
commit38e3a6e819b64b257a28df6db25a2d008831a2a3
treefc4dfc5e01e784f73d50356d9a49ebd2c2f7def6
parent60b2a29e1a0e62898531853bca258bf4ab57d101
irqchip: bcm7120-l2: Make sure all register accesses use base+offset

A couple of accesses to IRQEN (base+0x00) just used "base" directly, so
they would break if IRQEN ever became nonzero.  Make sure that all
reads/writes specify the register offset constant.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lkml.kernel.org/r/1415342669-30640-9-git-send-email-cernekee@gmail.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-bcm7120-l2.c