Re: [RESEND PATCH v1 1/9] spmi: pmic-arb: add a print in cleanup_irq

From: Stephen Boyd
Date: Tue Oct 12 2021 - 13:46:28 EST


Quoting Fenglin Wu (2021-09-16 23:32:56)
> From: Abhijeet Dharmapurikar <adharmap@xxxxxxxxxxxxxx>
>
> The cleanup_irq() was meant to clear and mask interrupts that were
> left enabled in the hardware but there was no interrupt handler
> registered for it. Add an error print when it gets invoked.

Why? Don't we get the genirq spurious irq message in this scenario?

>
> Signed-off-by: Abhijeet Dharmapurikar <adharmap@xxxxxxxxxxxxxx>
> Signed-off-by: David Collins <collinsd@xxxxxxxxxxxxxx>
> Signed-off-by: Fenglin Wu <quic_fenglinw@xxxxxxxxxxx>