lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ