]> git.baikalelectronics.ru Git - kernel.git/commit
HID: Ignore battery for ELAN touchscreen on ROG Flow X13 GV301RA
authorweiliang1503 <weiliang1503@gmail.com>
Thu, 30 Mar 2023 11:56:38 +0000 (19:56 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 May 2023 16:32:41 +0000 (17:32 +0100)
commited7db359bc63d4d8db7970601d396d1f8d48fa73
treeba3d5f86563462b77ca5a3b2f8df500b1dce87e7
parent616502eb4fae1f6a99e7214d0509b6e32f515840
HID: Ignore battery for ELAN touchscreen on ROG Flow X13 GV301RA

[ Upstream commit 35903009dbde804a1565dc89e431c0f15179f054 ]

Ignore the reported battery level of the built-in touchscreen to suppress
battery warnings when a stylus is used. The device ID was added and the
battery ignore quirk was enabled.

Signed-off-by: weiliang1503 <weiliang1503@gmail.com>
Link: https://lore.kernel.org/r/20230330115638.16146-1-weiliang1503@gmail.com
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hid/hid-ids.h
drivers/hid/hid-input.c