platform/x86: thinkpad_acpi: Ignore battery threshold change event notification
authorMark Pearson <mpearson-lenovo@squebb.ca>
Sat, 17 May 2025 02:33:37 +0000 (22:33 -0400)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 20 May 2025 09:35:10 +0000 (12:35 +0300)
commit29e4e6b4235fefa5930affb531fe449cac330a72
treea0818b440c55b913189381d22f6fc22e997f5230
parent4e89a4077490f52cde652d17e32519b666abf3a6
platform/x86: thinkpad_acpi: Ignore battery threshold change event notification

If user modifies the battery charge threshold an ACPI event is generated.
Confirmed with Lenovo FW team this is only generated on user event. As no
action is needed, ignore the event and prevent spurious kernel logs.

Reported-by: Derek Barbosa <debarbos@redhat.com>
Closes: https://lore.kernel.org/platform-driver-x86/7e9a1c47-5d9c-4978-af20-3949d53fb5dc@app.fastmail.com/T/#m5f5b9ae31d3fbf30d7d9a9d76c15fb3502dfd903
Signed-off-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20250517023348.2962591-1-mpearson-lenovo@squebb.ca
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/thinkpad_acpi.c