HID: Ignore battery for Elan touchscreen on Asus TP420IA
authormarco.rodolfi@tuta.io <marco.rodolfi@tuta.io>
Tue, 10 Jan 2023 14:54:26 +0000 (15:54 +0100)
committerJiri Kosina <jkosina@suse.cz>
Wed, 25 Jan 2023 14:44:46 +0000 (15:44 +0100)
commitcb963b2c011a62838852c902eccb3f72e5d3dbb6
tree6c3d0e303ff26c1683ee1a5fb5cd8a3be8b0eae4
parent29f316a1d7e0a570be9a47fa283ece53a67cebb7
HID: Ignore battery for Elan touchscreen on Asus TP420IA

This device has a touchscreen thats report a battery even if it doesn't
have one.
Ask Linux to ignore the battery so it will not always report it as low.

[jkosina@suse.cz: fix whitespace damage]
Signed-off-by: Marco Rodolfi <marco.rodolfi@tuta.io>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-ids.h
drivers/hid/hid-input.c