diff options
author | Seth Miller <miller.seth@gmail.com> | 2021-01-04 22:58:12 -0600 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2021-01-08 16:52:22 +0100 |
commit | 7c38e769d5c508939ce5dc26df72602f3c902342 (patch) | |
tree | 5cdd9c360372433c3c6f7b890d023c79bac6f37f /drivers/hid/hid-input.c | |
parent | e400071a805d6229223a98899e9da8c6233704a1 (diff) | |
download | linux-stable-7c38e769d5c508939ce5dc26df72602f3c902342.tar.gz linux-stable-7c38e769d5c508939ce5dc26df72602f3c902342.tar.bz2 linux-stable-7c38e769d5c508939ce5dc26df72602f3c902342.zip |
HID: Ignore battery for Elan touchscreen on ASUS UX550
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>
Diffstat (limited to 'drivers/hid/hid-input.c')
-rw-r--r-- | drivers/hid/hid-input.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c index dc7f6b4a775c..f23027d2795b 100644 --- a/drivers/hid/hid-input.c +++ b/drivers/hid/hid-input.c @@ -322,6 +322,8 @@ static const struct hid_device_id hid_battery_quirks[] = { { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_DINOVO_EDGE_KBD), HID_BATTERY_QUIRK_IGNORE }, + { HID_USB_DEVICE(USB_VENDOR_ID_ELAN, USB_DEVICE_ID_ASUS_UX550_TOUCHSCREEN), + HID_BATTERY_QUIRK_IGNORE }, {} }; |