]> git.baikalelectronics.ru Git - kernel.git/commit
HID: add Lenovo Yoga C630 battery quirk
authorSteev Klimaszewski <steev@kali.org>
Fri, 19 Aug 2022 02:39:24 +0000 (21:39 -0500)
committerJiri Kosina <jkosina@suse.cz>
Thu, 25 Aug 2022 09:45:14 +0000 (11:45 +0200)
commit943df64a606c885add4d69ee23d33e3a22bee58f
treebc69de52e1c18c7a444b15fe3c88fdd94e94e5f9
parent4b2d1a018d955f42b6a4b6f3defbd15b3d62e880
HID: add Lenovo Yoga C630 battery quirk

Similar to the Surface Go devices, the Elantech touchscreen/digitizer in
the Lenovo Yoga C630 mistakenly reports the battery of the stylus, and
always reports an empty battery.

Apply the HID_BATTERY_QUIRK_IGNORE quirk to ignore this battery and
prevent the erroneous low battery warnings.

Signed-off-by: Steev Klimaszewski <steev@kali.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-ids.h
drivers/hid/hid-input.c