Re: [linux-sunxi] Re: [PATCH 1/3] Input: axp20x-pek - Remove unique wakeup event handling

2020-01-14 Thread Samuel Holland
Hans, Thank you for the detailed explanation! This is exactly the background I needed, and it clears up my confusion. On 1/13/20 4:58 AM, Hans de Goede wrote: > On 13-01-2020 11:41, Hans de Goede wrote: >> Hi, >> >> On 13-01-2020 04:20, Samuel Holland wrote: >>> This driver attempts to avoid repo

[linux-sunxi] Re: [PATCH 1/3] Input: axp20x-pek - Remove unique wakeup event handling

2020-01-13 Thread Hans de Goede
On 13-01-2020 11:41, Hans de Goede wrote: Hi, On 13-01-2020 04:20, Samuel Holland wrote: This driver attempts to avoid reporting wakeup events to userspace by clearing a possible pending IRQ before IRQs are enabled during resume. The assumption seems to be that userspace cannot cope with a KEY_

[linux-sunxi] Re: [PATCH 1/3] Input: axp20x-pek - Remove unique wakeup event handling

2020-01-13 Thread Hans de Goede
Hi, On 13-01-2020 04:20, Samuel Holland wrote: This driver attempts to avoid reporting wakeup events to userspace by clearing a possible pending IRQ before IRQs are enabled during resume. The assumption seems to be that userspace cannot cope with a KEY_POWER press during resume. However, no othe