aboutsummaryrefslogtreecommitdiff
path: root/SOURCES/v2-onexplayer.patch
diff options
context:
space:
mode:
Diffstat (limited to 'SOURCES/v2-onexplayer.patch')
-rw-r--r--SOURCES/v2-onexplayer.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/SOURCES/v2-onexplayer.patch b/SOURCES/v2-onexplayer.patch
index f1a191e..8acdabb 100644
--- a/SOURCES/v2-onexplayer.patch
+++ b/SOURCES/v2-onexplayer.patch
@@ -25,15 +25,15 @@ diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c
index c9094a4f281e..455e2fd4cec3 100644
--- a/drivers/hid/hid-input.c
+++ b/drivers/hid/hid-input.c
-@@ -417,6 +417,8 @@ static const struct hid_device_id hid_battery_quirks[] = {
- HID_BATTERY_QUIRK_IGNORE },
+@@ -385,6 +385,8 @@
+ HID_BATTERY_QUIRK_AVOID_QUERY },
{ HID_I2C_DEVICE(USB_VENDOR_ID_ELAN, I2C_DEVICE_ID_CHROMEBOOK_TROGDOR_POMPOM),
HID_BATTERY_QUIRK_AVOID_QUERY },
+ { HID_I2C_DEVICE(USB_VENDOR_ID_NOVATEK, I2C_DEVICE_ID_ONEXPLAYER_X1),
+ HID_BATTERY_QUIRK_IGNORE },
- {}
- };
-
+ /*
+ * Elan I2C-HID touchscreens seem to all report a non present battery,
+ * set HID_BATTERY_QUIRK_IGNORE for all Elan I2C-HID devices.
--
2.46.2