summaryrefslogtreecommitdiffstats
path: root/kernel/irq
diff options
context:
space:
mode:
authorAisheng Dong <aisheng.dong@nxp.com>2019-02-20 11:40:47 +0000
committerMarc Zyngier <marc.zyngier@arm.com>2019-02-22 09:22:56 +0000
commitdeb904e45b4e32517f91512db5c50457004313d2 (patch)
tree09cfe6822664675c1578f22c0f8ce6e166b40f14 /kernel/irq
parente482c01dc73c23b2b8293cb43f633efddc87b36a (diff)
downloadblackbird-op-linux-deb904e45b4e32517f91512db5c50457004313d2.tar.gz
blackbird-op-linux-deb904e45b4e32517f91512db5c50457004313d2.zip
irqchip/imx-irqsteer: Change to use reg_num instead of irq_group
One group can manage 64 interrupts by using two registers (e.g. STATUS/SET). However, the integrated irqsteer may support only 32 interrupts which needs only one register in a group. But the current driver assume there's a mininum of two registers in a group which result in a wrong register map for 32 interrupts per channel irqsteer. Let's use the reg_num caculated by interrupts per channel instead of irq_group to cover this case. Cc: Rob Herring <robh+dt@kernel.org> Cc: Shawn Guo <shawnguo@kernel.org> Reviewed-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'kernel/irq')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud