[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1847933.atdPhlSkOF@kreacher>
Date: Sun, 04 Jun 2023 17:17:22 +0200
From: "Rafael J. Wysocki" <rjw@...ysocki.net>
To: Linux ACPI <linux-acpi@...r.kernel.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Michal Wilczynski <michal.wilczynski@...el.com>
Subject: [RFT][PATCH v1 0/4] ACPI: Install notify or event handlers in ACPI button drivers
Hi Folks,
This series reworks the two ACPI button drivers to install notify or fixed
event handlers (depending on the device type) by themselves, so the core
code need not take the "fixed event handler for a button driver" case in
the general driver notify handler installer.
As a bonus, it separates the notify handler in the "generic" button driver
into a lid notify handler and a proper button notify handler.
It modifies also the core to drop the "fixed event handler for a button driver"
case from there (last patch).
It works for me, but I would appreciate as much testing of this as possible
especially on old hardware.
Obviously, it replaces
https://lore.kernel.org/linux-acpi/4500594.LvFx2qVVIh@kreacher/T/#m064d4130b57cbcb0ece1bb415fae1465ebc20f42
and its followers to some extent, but I think that it's better to deal with the
special case first and then take care of the rest.
Thanks!
Powered by blists - more mailing lists