From: "irqchip-bot for Sean Anderson" <tip-bot2@linutronix.de>
To: linux-kernel@vger.kernel.org
Cc: Sean Anderson <sean.anderson@seco.com>,
Marc Zyngier <maz@kernel.org>,
tglx@linutronix.de
Subject: [irqchip: irq/irqchip-next] irqchip/ls-extirq: Fix endianness detection
Date: Mon, 05 Dec 2022 11:21:04 -0000 [thread overview]
Message-ID: <167023926482.4906.17012979311813913704.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20221201212807.616191-1-sean.anderson@seco.com>
The following commit has been merged into the irq/irqchip-next branch of irqchip:
Commit-ID: 3ae977d0e4e3a2a2ccc912ca2d20c9430508ecdd
Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/3ae977d0e4e3a2a2ccc912ca2d20c9430508ecdd
Author: Sean Anderson <sean.anderson@seco.com>
AuthorDate: Thu, 01 Dec 2022 16:28:07 -05:00
Committer: Marc Zyngier <maz@kernel.org>
CommitterDate: Mon, 05 Dec 2022 10:39:52
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-ls-extirq.c b/drivers/irqchip/irq-ls-extirq.c
index d8d48b1..139f26b 100644
--- a/drivers/irqchip/irq-ls-extirq.c
+++ b/drivers/irqchip/irq-ls-extirq.c
@@ -203,7 +203,7 @@ ls_extirq_of_init(struct device_node *node, struct device_node *parent)
if (ret)
goto err_parse_map;
- priv->big_endian = of_device_is_big_endian(parent);
+ priv->big_endian = of_device_is_big_endian(node->parent);
priv->is_ls1021a_or_ls1043a = of_device_is_compatible(node, "fsl,ls1021a-extirq") ||
of_device_is_compatible(node, "fsl,ls1043a-extirq");
raw_spin_lock_init(&priv->lock);
next prev parent reply other threads:[~2022-12-05 11:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-01 21:28 [PATCH] " Sean Anderson
2022-12-05 11:21 ` irqchip-bot for Sean Anderson [this message]
2022-12-16 16:37 ` [irqchip: irq/irqchip-next] " Sean Anderson
2022-12-16 18:22 ` Marc Zyngier
2022-12-16 19:11 ` Sean Anderson
2022-12-16 19:23 ` Marc Zyngier
2022-12-19 12:17 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=167023926482.4906.17012979311813913704.tip-bot2@tip-bot2 \
--to=tip-bot2@linutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=maz@kernel.org \
--cc=sean.anderson@seco.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®