diff options
author | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2014-09-03 19:00:54 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-09-04 02:49:30 -0400 |
commit | 467669c5740a6f27780b991016995f95a6d47836 (patch) | |
tree | 90fe0983567d3419d5631d7c872cf09b50e9ab5e /drivers/hid/hid-sensor-hub.c | |
parent | e4cf19ffe060e75d34c007565d0aef7189ec654e (diff) |
HID: hid-sensor-hub: re-add mistakenly removed USB_DEVICE_ID_STM_HID_SENSOR id
Adding USB_DEVICE_ID_STM_HID_SENSOR again in the quirk table. During 3.16 merge
cycle somehow quirk for device id USB_DEVICE_ID_STM_HID_SENSOR is missing.
I see commit dde3b45cd74e ("HID: hid-sensor-hub: new device id and quirk
for STM Sensor hub") added new id USB_DEVICE_ID_STM_HID_SENSOR_1,
but didn't really delete the old device id.
Anyway we need to add this back, otherwise it breaks ST sensor hubs.
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-sensor-hub.c')
-rw-r--r-- | drivers/hid/hid-sensor-hub.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hid/hid-sensor-hub.c b/drivers/hid/hid-sensor-hub.c index 2ac25760a9a9..e6d8e18dae97 100644 --- a/drivers/hid/hid-sensor-hub.c +++ b/drivers/hid/hid-sensor-hub.c | |||
@@ -709,6 +709,9 @@ static const struct hid_device_id sensor_hub_devices[] = { | |||
709 | USB_DEVICE_ID_MS_TYPE_COVER_2), | 709 | USB_DEVICE_ID_MS_TYPE_COVER_2), |
710 | .driver_data = HID_SENSOR_HUB_ENUM_QUIRK}, | 710 | .driver_data = HID_SENSOR_HUB_ENUM_QUIRK}, |
711 | { HID_DEVICE(HID_BUS_ANY, HID_GROUP_SENSOR_HUB, USB_VENDOR_ID_STM_0, | 711 | { HID_DEVICE(HID_BUS_ANY, HID_GROUP_SENSOR_HUB, USB_VENDOR_ID_STM_0, |
712 | USB_DEVICE_ID_STM_HID_SENSOR), | ||
713 | .driver_data = HID_SENSOR_HUB_ENUM_QUIRK}, | ||
714 | { HID_DEVICE(HID_BUS_ANY, HID_GROUP_SENSOR_HUB, USB_VENDOR_ID_STM_0, | ||
712 | USB_DEVICE_ID_STM_HID_SENSOR_1), | 715 | USB_DEVICE_ID_STM_HID_SENSOR_1), |
713 | .driver_data = HID_SENSOR_HUB_ENUM_QUIRK}, | 716 | .driver_data = HID_SENSOR_HUB_ENUM_QUIRK}, |
714 | { HID_DEVICE(HID_BUS_ANY, HID_GROUP_SENSOR_HUB, USB_VENDOR_ID_TEXAS_INSTRUMENTS, | 717 | { HID_DEVICE(HID_BUS_ANY, HID_GROUP_SENSOR_HUB, USB_VENDOR_ID_TEXAS_INSTRUMENTS, |