Re: [PATCH RFC] PM: sleep: wakeirq: Fix a serious logical error in dev_pm_disarm_wake_irq()

From: Greg Kroah-Hartman
Date: Sat Sep 28 2024 - 06:50:37 EST


On Sat, Sep 28, 2024 at 02:26:27AM -0700, Zijun Hu wrote:
> IT is a serious logical error for dev_pm_disarm_wake_irq() not to disable
> the wake irq enabled by dev_pm_arm_wake_irq(), fixed by simply correcting
> the wrong if condition.
>
> Signed-off-by: Zijun Hu <quic_zijuhu@xxxxxxxxxxx>

What commit id does this fix?

> ---
> List relevant commits as following:
>
> johan+linaro@xxxxxxxxxx 2023-07-13
> Commit: 8527beb12087 ("PM: sleep: wakeirq: fix wake irq arming")
>
> tony@xxxxxxxxxxx 2018-02-09
> Commit: 69728051f5bf ("PM / wakeirq: Fix unbalanced IRQ enable for wakeirq")
>
> The former commit fixes the later.

I do not understand this series of commits, what exactly are you trying
to show here?

confused,

greg k-h