Commit b401e629 authored by Zoltan Tamas Vajda's avatar Zoltan Tamas Vajda Committed by Zheng Zengkai
Browse files

HID: hid-input: add Surface Go battery quirk

stable inclusion
from stable-v5.10.137
commit fe695a2b469b0e71647b7761ac36289f7cdfc992
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I60PLB

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=fe695a2b469b0e71647b7761ac36289f7cdfc992



--------------------------------

[ Upstream commit b5539722 ]

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: default avatarZoltan Tamas Vajda <zoltan.tamas.vajda@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Reviewed-by: default avatarWei Li <liwei391@huawei.com>
parent 624205be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment