]> git.baikalelectronics.ru Git - kernel.git/commit
HID: hid-input: add Surface Go battery quirk
authorZoltan Tamas Vajda <zoltan.tamas.vajda@gmail.com>
Thu, 3 Jun 2021 18:58:14 +0000 (20:58 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 14 Jun 2021 13:37:16 +0000 (15:37 +0200)
commit188896d9f97e8a12fda7fd29c6ed85097838df64
tree44024f644cd02fe9b91e294f415470e41fabebf4
parent7b48f7a549e257c600635e36a3de9692f8376a37
HID: hid-input: add Surface Go battery quirk

The Elantech touchscreen/digitizer in the Surface Go mistakenly reports
having a battery. This results in a low battery message every time you
try to use the pen.

This patch adds a quirk to ignore the non-existent battery and
gets rid of the false low battery messages.

Signed-off-by: Zoltan Tamas Vajda <zoltan.tamas.vajda@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-ids.h
drivers/hid/hid-input.c