irqchip/ls-extirq: Fix endianness detection
authorSean Anderson <sean.anderson@seco.com>
Thu, 1 Dec 2022 21:28:07 +0000 (16:28 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Dec 2022 16:48:04 +0000 (17:48 +0100)
commitfb9b502cf9113c835321e1294c8c6d9629864686
tree0f617341ea757e75ae96c10bfca495519a8712b7
parent18301e16ea553cf3cd4352d5948722a42034f284
irqchip/ls-extirq: Fix endianness detection

commit 3ae977d0e4e3a2a2ccc912ca2d20c9430508ecdd upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/irqchip/irq-ls-extirq.c