Merge dfbaecf7e3 ("irqchip/qcom-mpm: Prevent crash when trying to handle non-wake GPIOs") into android-mainline

Steps on the way to 6.6.90

Change-Id: Ia2fb976565ed6d7f807451c0ee0c5ca300e2af2c
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman
2025-05-21 10:01:03 +00:00

View File

@@ -226,6 +226,9 @@ static int qcom_mpm_alloc(struct irq_domain *domain, unsigned int virq,
if (ret)
return ret;
if (pin == GPIO_NO_WAKE_IRQ)
return irq_domain_disconnect_hierarchy(domain, virq);
ret = irq_domain_set_hwirq_and_chip(domain, virq, pin,
&qcom_mpm_chip, priv);
if (ret)