The invalid value of #address-cells in the imx6 pcie host controller node
causes of_irq_parse_raw() to incorrectly advance through an interrupt-map
table of more than one interrupt.

This patch resolves this issue and allows proper interrupt mapping for an
imx6 pcie host connected to a P2P bridge when using legacy interrupts.

Signed-off-by: Tim Harvey <[email protected]>
Cc: Jason Gunthorpe <[email protected]>
Cc: Jingoo Han <[email protected]>
Cc: Lucas Stach <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: linux-samsung-soc <[email protected]>
Cc: Richard Zhu <[email protected]>
Cc: Sascha Hauer <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Stephen Warren <[email protected]>
Cc: Bjorn Helgaas <[email protected]>
Cc: Simon Horman <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Ben Dooks <[email protected]>
Cc: linux-tegra <[email protected]>
Cc: Kukjin Kim <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: Grant Likely <[email protected]>
---
 arch/arm/boot/dts/imx6qdl.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi
index af8d28d..2285299 100644
--- a/arch/arm/boot/dts/imx6qdl.dtsi
+++ b/arch/arm/boot/dts/imx6qdl.dtsi
@@ -49,7 +49,7 @@
        intc: interrupt-controller@00a01000 {
                compatible = "arm,cortex-a9-gic";
                #interrupt-cells = <3>;
-               #address-cells = <1>;
+               #address-cells = <0>;
                #size-cells = <1>;
                interrupt-controller;
                reg = <0x00a01000 0x1000>,
-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to