HID: add HP 13t-aw100 & 14t-ea100 digitizer battery quirks
authorPhilippe Troin <phil@fifi.org>
Mon, 6 Mar 2023 18:18:36 +0000 (10:18 -0800)
committerJiri Kosina <jkosina@suse.cz>
Fri, 10 Mar 2023 14:41:59 +0000 (15:41 +0100)
commit50c6b976fb66f623440066f8e44309b4c2f687a0
treeb3eef8c4d9be664dbf7ce68f15a7130be017eda5
parent8ae2f2b0a28416ed2f6d8478ac8b9f7862f36785
HID: add HP 13t-aw100 & 14t-ea100 digitizer battery quirks

Similar to many other devices using the Synopsys Designware Elantech
hardware, HP Spectre x360 13t-aw100 and 14t-ea100 report an empty
battery devices, supposedly for the active stylus.

Apply the HID_BATTERY_QUIRK_IGNORE quirk to ignore the battery reports
from these devices. Note that there are multiple versions of the panel
installed in the 14t-ea100.

Signed-off-by: Philippe Troin <phil@fifi.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-ids.h
drivers/hid/hid-input.c