diff options
author | Guilhem Lettron <guilhem@lettron.fr> | 2015-06-27 11:02:23 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2015-07-08 05:35:54 -0400 |
commit | 21589ebda68172baeb03f35533ee2ec34543bf55 (patch) | |
tree | 822ab0868c4f3808fcb5500cdf50a5584426e8d4 | |
parent | 67db8a8086e9b865533348954f5547f1e433101e (diff) |
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 <jkosina@suse.com>
-rw-r--r-- | drivers/hid/hid-ids.h | 3 | ||||
-rw-r--r-- | drivers/hid/hid-sensor-hub.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index b04b0820d816..9a59810a0b21 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h | |||
@@ -497,6 +497,9 @@ | |||
497 | #define USB_VENDOR_ID_IRTOUCHSYSTEMS 0x6615 | 497 | #define USB_VENDOR_ID_IRTOUCHSYSTEMS 0x6615 |
498 | #define USB_DEVICE_ID_IRTOUCH_INFRARED_USB 0x0070 | 498 | #define USB_DEVICE_ID_IRTOUCH_INFRARED_USB 0x0070 |
499 | 499 | ||
500 | #define USB_VENDOR_ID_ITE 0x048d | ||
501 | #define USB_DEVICE_ID_ITE_LENOVO_YOGA 0x8386 | ||
502 | |||
500 | #define USB_VENDOR_ID_JABRA 0x0b0e | 503 | #define USB_VENDOR_ID_JABRA 0x0b0e |
501 | #define USB_DEVICE_ID_JABRA_SPEAK_410 0x0412 | 504 | #define USB_DEVICE_ID_JABRA_SPEAK_410 0x0412 |
502 | #define USB_DEVICE_ID_JABRA_SPEAK_510 0x0420 | 505 | #define USB_DEVICE_ID_JABRA_SPEAK_510 0x0420 |
diff --git a/drivers/hid/hid-sensor-hub.c b/drivers/hid/hid-sensor-hub.c index 090a1ba0abb6..a76eb2a0a987 100644 --- a/drivers/hid/hid-sensor-hub.c +++ b/drivers/hid/hid-sensor-hub.c | |||
@@ -774,6 +774,9 @@ static const struct hid_device_id sensor_hub_devices[] = { | |||
774 | { HID_DEVICE(HID_BUS_ANY, HID_GROUP_SENSOR_HUB, USB_VENDOR_ID_TEXAS_INSTRUMENTS, | 774 | { HID_DEVICE(HID_BUS_ANY, HID_GROUP_SENSOR_HUB, USB_VENDOR_ID_TEXAS_INSTRUMENTS, |
775 | USB_DEVICE_ID_TEXAS_INSTRUMENTS_LENOVO_YOGA), | 775 | USB_DEVICE_ID_TEXAS_INSTRUMENTS_LENOVO_YOGA), |
776 | .driver_data = HID_SENSOR_HUB_ENUM_QUIRK}, | 776 | .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}, | ||
777 | { HID_DEVICE(HID_BUS_ANY, HID_GROUP_SENSOR_HUB, HID_ANY_ID, | 780 | { HID_DEVICE(HID_BUS_ANY, HID_GROUP_SENSOR_HUB, HID_ANY_ID, |
778 | HID_ANY_ID) }, | 781 | HID_ANY_ID) }, |
779 | { } | 782 | { } |