[PATCH] ACPI / button: fix handling lid state changes when input device closed

2020-10-04 Thread dmitry . torokhov
The original intent of 84d3f6b76447 was to delay evaluating lid state until all drivers have been loaded, with input device being opened from userspace serving as a signal for this condition. Let's ensure that state updates happen even if userspace closed (or in the future inhibited) input device.

Re: [PATCH] ACPI / button: fix handling lid state changes when input device closed

2020-10-05 Thread Hans de Goede
Hi, On 10/5/20 7:11 AM, dmitry.torok...@gmail.com wrote: The original intent of 84d3f6b76447 was to delay evaluating lid state until all drivers have been loaded, with input device being opened from userspace serving as a signal for this condition. Let's ensure that state updates happen even if

Re: [PATCH] ACPI / button: fix handling lid state changes when input device closed

2020-10-05 Thread Rafael J. Wysocki
On Mon, Oct 5, 2020 at 7:11 AM wrote: > > The original intent of 84d3f6b76447 was to delay evaluating lid state until > all drivers have been loaded, with input device being opened from userspace > serving as a signal for this condition. Let's ensure that state updates > happen even if userspace c