HID: input: avoid polling stylus battery on Chromebook Pompom
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 23 Feb 2024 23:16:12 +0000 (15:16 -0800)
committerJiri Kosina <jkosina@suse.com>
Tue, 27 Feb 2024 14:18:01 +0000 (15:18 +0100)
commit9a5b1521e2d0d7ace70c6e5eed073babcec91409
tree0047954a1fca430e284eb1795afe15dc7c736895
parent4d05105e7c64f1abfd876b4d646eeb929fd577e8
HID: input: avoid polling stylus battery on Chromebook Pompom

Internal touchscreen on Trogdor Pompom (AKA Dynabook Chromebook C1)
supports USI stylus. Unfortunately the HID descriptor for the stylus
interface does not contain "Stylus" physical collection, which makes
the kernel to try and pull battery information, resulting in errors.

Apply HID_BATTERY_QUIRK_AVOID_QUERY to the device.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-ids.h
drivers/hid/hid-input.c