From: "tip-bot2 for Cosmin Tanislav" <tip-bot2@linutronix.de>
To: linux-tip-commits@vger.kernel.org
Cc: Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com>,
Thomas Gleixner <tglx@kernel.org>,
x86@kernel.org, linux-kernel@vger.kernel.org, maz@kernel.org
Subject: [tip: irq/urgent] irqchip/renesas-rzt2h: Use pm_runtime_put_sync() in probe error path
Date: Thu, 21 May 2026 18:17:19 -0000 [thread overview]
Message-ID: <177938743921.711.3087169977844234166.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20260520203117.1516442-2-cosmin-gabriel.tanislav.xa@renesas.com>
The following commit has been merged into the irq/urgent branch of tip:
Commit-ID: c9b7598eb013c6dbf2526dc050364bd8dc24f0d3
Gitweb: https://git.kernel.org/tip/c9b7598eb013c6dbf2526dc050364bd8dc24f0d3
Author: Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com>
AuthorDate: Wed, 20 May 2026 23:31:15 +03:00
Committer: Thomas Gleixner <tglx@kernel.org>
CommitterDate: Thu, 21 May 2026 20:11:29 +02:00
irqchip/renesas-rzt2h: Use pm_runtime_put_sync() in probe error path
pm_runtime_put() may trigger the idle check after pm_runtime_disable()
is run as part of devm_pm_runtime_enable()'s cleanup action, leaving
runtime PM active.
Use pm_runtime_put_sync() to ensure the idle check runs synchronously.
Fixes: 13e7b3305b64 ("irqchip: Add RZ/{T2H,N2H} Interrupt Controller (ICU) driver")
Signed-off-by: Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260520203117.1516442-2-cosmin-gabriel.tanislav.xa@renesas.com
---
drivers/irqchip/irq-renesas-rzt2h.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-renesas-rzt2h.c b/drivers/irqchip/irq-renesas-rzt2h.c
index 53cf80e..ecb69da 100644
--- a/drivers/irqchip/irq-renesas-rzt2h.c
+++ b/drivers/irqchip/irq-renesas-rzt2h.c
@@ -265,7 +265,7 @@ static int rzt2h_icu_init(struct platform_device *pdev, struct device_node *pare
irq_domain = irq_domain_create_hierarchy(parent_domain, 0, RZT2H_ICU_NUM_IRQ,
dev_fwnode(dev), &rzt2h_icu_domain_ops, priv);
if (!irq_domain) {
- pm_runtime_put(dev);
+ pm_runtime_put_sync(dev);
return -ENOMEM;
}
next prev parent reply other threads:[~2026-05-21 18:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-20 20:31 [PATCH 0/3] irqchip/renesas-rzt2h: support error and software-triggered interrupts Cosmin Tanislav
2026-05-20 20:31 ` [PATCH 1/3] irqchip/renesas-rzt2h: use pm_runtime_put_sync() in probe error path Cosmin Tanislav
2026-05-21 9:50 ` [tip: irq/urgent] irqchip/renesas-rzt2h: Use " tip-bot2 for Cosmin Tanislav
2026-05-21 18:17 ` tip-bot2 for Cosmin Tanislav [this message]
2026-05-20 20:31 ` [PATCH 2/3] irqchip/renesas-rzt2h: add software-triggered interrupts support Cosmin Tanislav
2026-06-03 16:29 ` [tip: irq/drivers] irqchip/renesas-rzt2h: Add " tip-bot2 for Cosmin Tanislav
2026-05-20 20:31 ` [PATCH 3/3] irqchip/renesas-rzt2h: add error " Cosmin Tanislav
2026-06-03 16:29 ` [tip: irq/drivers] irqchip/renesas-rzt2h: Add " tip-bot2 for Cosmin Tanislav
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=177938743921.711.3087169977844234166.tip-bot2@tip-bot2 \
--to=tip-bot2@linutronix.de \
--cc=cosmin-gabriel.tanislav.xa@renesas.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=maz@kernel.org \
--cc=tglx@kernel.org \
--cc=x86@kernel.org \
/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®