irqchip/ls-extirq: Fix endianness detection
authorSean Anderson <sean.anderson@seco.com>
Thu, 1 Dec 2022 21:28:07 +0000 (16:28 -0500)
committerMarc Zyngier <maz@kernel.org>
Mon, 5 Dec 2022 10:39:52 +0000 (10:39 +0000)
commit3ae977d0e4e3a2a2ccc912ca2d20c9430508ecdd
treef01e1cd7e67b84b089d4732e9268679d9b9602b2
parent5e279739d7312b8958ec816fa38dba2725638503
irqchip/ls-extirq: Fix endianness detection

parent is the interrupt parent, not the parent of node. Use
node->parent. This fixes endianness detection on big-endian platforms.

Fixes: 1b00adce8afd ("irqchip/ls-extirq: Fix invalid wait context by avoiding to use regmap")
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221201212807.616191-1-sean.anderson@seco.com
drivers/irqchip/irq-ls-extirq.c