Skip to content

Commit 21589eb

Browse files
guilhemJiri Kosina
authored andcommitted
HID: sensor-hub: Add in quirk for Lenovo Yogas with ITE
Like yogas with TEXAS_INSTRUMENTS, yogas with ITE chips needs to be initialized with enumeration quirks. Signed-off-by: Jiri Kosina <[email protected]>
1 parent 67db8a8 commit 21589eb

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

drivers/hid/hid-ids.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,9 @@
497497
#define USB_VENDOR_ID_IRTOUCHSYSTEMS 0x6615
498498
#define USB_DEVICE_ID_IRTOUCH_INFRARED_USB 0x0070
499499

500+
#define USB_VENDOR_ID_ITE 0x048d
501+
#define USB_DEVICE_ID_ITE_LENOVO_YOGA 0x8386
502+
500503
#define USB_VENDOR_ID_JABRA 0x0b0e
501504
#define USB_DEVICE_ID_JABRA_SPEAK_410 0x0412
502505
#define USB_DEVICE_ID_JABRA_SPEAK_510 0x0420

drivers/hid/hid-sensor-hub.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -774,6 +774,9 @@ static const struct hid_device_id sensor_hub_devices[] = {
774774
{ HID_DEVICE(HID_BUS_ANY, HID_GROUP_SENSOR_HUB, USB_VENDOR_ID_TEXAS_INSTRUMENTS,
775775
USB_DEVICE_ID_TEXAS_INSTRUMENTS_LENOVO_YOGA),
776776
.driver_data = HID_SENSOR_HUB_ENUM_QUIRK},
777+
{ HID_DEVICE(HID_BUS_ANY, HID_GROUP_SENSOR_HUB, USB_VENDOR_ID_ITE,
778+
USB_DEVICE_ID_ITE_LENOVO_YOGA),
779+
.driver_data = HID_SENSOR_HUB_ENUM_QUIRK},
777780
{ HID_DEVICE(HID_BUS_ANY, HID_GROUP_SENSOR_HUB, HID_ANY_ID,
778781
HID_ANY_ID) },
779782
{ }

0 commit comments

Comments
 (0)