[PATCH 5/6] irqchip: brcmstb-l2: Abstract register accesses
From: f.fainelli@gmail.com (Florian Fainelli)
Date: 2017-07-10 15:54:30
Also in:
linux-mips, lkml
From: f.fainelli@gmail.com (Florian Fainelli)
Date: 2017-07-10 15:54:30
Also in:
linux-mips, lkml
On 07/07/2017 12:20 PM, Doug Berger wrote:
Added register block offsets to the brcmstb_l2_intc_data structure for the status and mask registers to support reading the active interupts in an abstracted way. It seems like an irq_chip method should have been provided for this, but it's not there yet. Abstracted the implementation of the handler, suspend, and resume functions to not use any hard coded register offsets. Signed-off-by: Doug Berger <opendmb@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> -- Florian