HID: Ignore battery for ELAN touchscreen 29DF on HP
authorLuka Guzenko <l.guzenko@web.de>
Fri, 20 Jan 2023 22:37:41 +0000 (23:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Mar 2023 10:52:22 +0000 (11:52 +0100)
commit56b6ea55f1dcd6e5cd1266df27cb4d54c1b19d8b
treed71f3a7ff1d9ab0690ca787ee4dd59187d6414ed
parenta03cc84f70a0cf13d5d29590fe7b699fba906415
HID: Ignore battery for ELAN touchscreen 29DF on HP

[ Upstream commit ebebf05a4b06a1be49788ca0edf990de01c4b0d0 ]

The touchscreen reports a battery status of 0% and jumps to 1% when a
stylus is used. The device ID was added and the battery ignore quirk was
enabled for it.

Signed-off-by: Luka Guzenko <l.guzenko@web.de>
Link: https://lore.kernel.org/r/20230120223741.3007-1-l.guzenko@web.de
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