From 134ef0278d4e48bcc325a7699250dfe861c11953 Mon Sep 17 00:00:00 2001 From: Anup Vishwakarma Date: Wed, 16 Sep 2026 13:01:36 +0530 Subject: [PATCH] mailbox: qcom-ipcc: remove stray disable_irq_wake() call Commit afaf2ba5b430 ("mailbox: qcom-ipcc: Support interrupt wake up from suspend") replaced enable_irq_wake() with IRQF_NO_SUSPEND on the IRQ request, but left the paired disable_irq_wake() in remove() behind. disable_irq_wake() decrements the IRQ's wake_depth. With no matching enable_irq_wake() left to increment it, wake_depth stays at 0 and irq_set_irq_wake() reports: WARN(1, "Unbalanced IRQ %d wake disable\n", irq) on every unbind. Since there is no enable_irq_wake() to pair it with, remove the stray disable_irq_wake() call; IRQF_NO_SUSPEND already provides the intended wake behaviour. Fixes: afaf2ba5b430 ("mailbox: qcom-ipcc: Support interrupt wake up from suspend") Signed-off-by: Anup Vishwakarma Reviewed-by: Konrad Dybcio Signed-off-by: Jassi Brar --- drivers/mailbox/qcom-ipcc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mailbox/qcom-ipcc.c b/drivers/mailbox/qcom-ipcc.c index 232fb4ce999a..bb54295e03ce 100644 --- a/drivers/mailbox/qcom-ipcc.c +++ b/drivers/mailbox/qcom-ipcc.c @@ -345,7 +345,6 @@ static void qcom_ipcc_remove(struct platform_device *pdev) { struct qcom_ipcc *ipcc = platform_get_drvdata(pdev); - disable_irq_wake(ipcc->irq); irq_domain_remove(ipcc->irq_domain); }