HID: Ignore battery for Elan touchscreen on Asus UX550VE
authorHans de Goede <hdegoede@redhat.com>
Tue, 7 Dec 2021 12:10:53 +0000 (13:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Dec 2021 09:57:06 +0000 (10:57 +0100)
commit6281306bdc99f1c3f1fe584dd074d14e04dcf381
tree355a7209a72f730e19a5773fb303c6ef7cd6d274
parent719d5fb2789acd4b3a6771f7e60a0fe4ca84d2b0
HID: Ignore battery for Elan touchscreen on Asus UX550VE

commit 14902f8961dca9c66bf190f7b1583767c97a4197 upstream.

Battery status is reported for the Asus UX550VE touchscreen even though
it does not have a battery. Prevent it from always reporting the
battery as low.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1897823
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hid/hid-ids.h
drivers/hid/hid-input.c