[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGb2v665Lfx3OPpWzvYcicqQt=ehfEVaheXxH4kwsUE8X-g3Cw@mail.gmail.com>
Date: Fri, 9 Dec 2022 15:49:59 +0800
From: Chen-Yu Tsai <wens@...e.org>
To: Aren Moynihan <aren@...cevolution.org>
Cc: Lee Jones <lee@...nel.org>, linux-kernel@...r.kernel.org,
Ondrej Jirman <megi@....cz>,
Samuel Holland <samuel@...lland.org>
Subject: Re: [PATCH v2] mfd: axp20x: fix order of pek rise and fall events
On Fri, Dec 9, 2022 at 6:20 AM Aren Moynihan <aren@...cevolution.org> wrote:
>
> The power button can get "stuck" if the rising edge and falling edge irq
> are read in the same pass. This can often be triggered when resuming
> from suspend if the power button is released before the kernel handles
> the interrupt.
>
> Swapping the order of the rise and fall events makes sure that the press
> event is handled first, which prevents this situation.
>
> Signed-off-by: Aren Moynihan <aren@...cevolution.org>
Acked-by: Chen-Yu Tsai <wens@...e.org>
Powered by blists - more mailing lists