summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/exynos-combiner.c
diff options
context:
space:
mode:
authorAisheng Dong <aisheng.dong@nxp.com>2019-02-20 12:40:47 +0100
committerMarc Zyngier <marc.zyngier@arm.com>2019-02-22 10:22:56 +0100
commitdeb904e45b4e32517f91512db5c50457004313d2 (patch)
tree09cfe6822664675c1578f22c0f8ce6e166b40f14 /drivers/irqchip/exynos-combiner.c
parentdt-bindings: irq: imx-irqsteer: Add multi output interrupts support (diff)
downloadlinux-deb904e45b4e32517f91512db5c50457004313d2.tar.xz
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 'drivers/irqchip/exynos-combiner.c')
0 files changed, 0 insertions, 0 deletions