irqchip/mtk-sysirq: Extend intpol base to arbitrary number
authorMars Cheng <mars.cheng@mediatek.com>
Sun, 19 Mar 2017 15:26:23 +0000 (23:26 +0800)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 7 Apr 2017 09:52:17 +0000 (10:52 +0100)
commit13683f9bb6166ba0d67e8f89cad85e064032c0f8
tree755c2d90742086c514388e0ebeb4bbf68c4604bf
parentd240fe0a4066e592f8e3a698d8648bdd47bc51b7
irqchip/mtk-sysirq: Extend intpol base to arbitrary number

Originally driver only supports one base. However, MT6797 has
more than one bases to configure interrupt polarity. To support
possible design change, here comes a solution to use arbitrary
number of bases.

Signed-off-by: Mars Cheng <mars.cheng@mediatek.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-mtk-sysirq.c