HID: Ignore battery for Elan touchscreen on ASUS UX550
authorSeth Miller <miller.seth@gmail.com>
Tue, 5 Jan 2021 04:58:12 +0000 (22:58 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Jan 2021 10:47:44 +0000 (11:47 +0100)
commitc074680653e27f19eb584522df06758607277f77
tree22d7a9fa61f2504a41f107d287227f4ecc404a25
parent9cec63a3aacbcaee8d09aecac2ca2f8820efcc70
HID: Ignore battery for Elan touchscreen on ASUS UX550

[ Upstream commit 7c38e769d5c508939ce5dc26df72602f3c902342 ]

Battery status is being reported for the Elan touchscreen on ASUS
UX550 laptops despite not having a batter. It always shows either 0 or
1%.

Signed-off-by: Seth Miller <miller.seth@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hid/hid-ids.h
drivers/hid/hid-input.c