]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
platform/x86: acer-wmi: Ignore AC events
authorArmin Wolf <W_Armin@gmx.de>
Sun, 19 Jan 2025 20:17:22 +0000 (21:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Feb 2025 12:49:34 +0000 (13:49 +0100)
commit86aca3233f48b6b391cb56198afcbcdca8fb2da4
tree904aacdc55a233fbcc3c3a1d62acec9f102602c5
parent28c35589a555b536582ee721009843c9f02936d1
platform/x86: acer-wmi: Ignore AC events

[ Upstream commit f6bfa25c6665f8721421ea94fe506cc22f1d4b43 ]

On the Acer Swift SFG14-41, the events 8 - 1 and 8 - 0 are printed on
AC connect/disconnect. Ignore those events to avoid spamming the
kernel log with error messages.

Reported-by: Farhan Anwar <farhan.anwar8@gmail.com>
Closes: https://lore.kernel.org/platform-driver-x86/2ffb529d-e7c8-4026-a3b8-120c8e7afec8@gmail.com
Tested-by: Rayan Margham <rayanmargham4@gmail.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20250119201723.11102-2-W_Armin@gmx.de
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/x86/acer-wmi.c