aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2016-11-25 05:03:43 -0500
committerJiri Kosina <jkosina@suse.cz>2016-11-28 08:32:47 -0500
commitda809197a919942ab6ee0d008c20a011872181b1 (patch)
treeb7d0c51c2bf2a455d2d09302e3620c7ffc4e06c1
parente2b6535d47ce223e327de053b804d2e572a98bbc (diff)
HID: sensor-hub add quirk for Microsoft Surface 3
One more device requiring a quirk :/ [jkosina@suse.cz: update comment based on Bastien's remark] Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Tested-by: Bastien Nocera <hadess@hadess.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--drivers/hid/hid-sensor-hub.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hid/hid-sensor-hub.c b/drivers/hid/hid-sensor-hub.c
index 60875625cbdf..0646278db7b3 100644
--- a/drivers/hid/hid-sensor-hub.c
+++ b/drivers/hid/hid-sensor-hub.c
@@ -795,6 +795,9 @@ static const struct hid_device_id sensor_hub_devices[] = {
795 { HID_DEVICE(HID_BUS_ANY, HID_GROUP_SENSOR_HUB, USB_VENDOR_ID_MICROSOFT, 795 { HID_DEVICE(HID_BUS_ANY, HID_GROUP_SENSOR_HUB, USB_VENDOR_ID_MICROSOFT,
796 USB_DEVICE_ID_MS_TYPE_COVER_2), 796 USB_DEVICE_ID_MS_TYPE_COVER_2),
797 .driver_data = HID_SENSOR_HUB_ENUM_QUIRK}, 797 .driver_data = HID_SENSOR_HUB_ENUM_QUIRK},
798 { HID_DEVICE(HID_BUS_ANY, HID_GROUP_SENSOR_HUB, USB_VENDOR_ID_MICROSOFT,
799 0x07bd), /* Microsoft Surface 3 */
800 .driver_data = HID_SENSOR_HUB_ENUM_QUIRK},
798 { HID_DEVICE(HID_BUS_ANY, HID_GROUP_SENSOR_HUB, USB_VENDOR_ID_STM_0, 801 { HID_DEVICE(HID_BUS_ANY, HID_GROUP_SENSOR_HUB, USB_VENDOR_ID_STM_0,
799 USB_DEVICE_ID_STM_HID_SENSOR), 802 USB_DEVICE_ID_STM_HID_SENSOR),
800 .driver_data = HID_SENSOR_HUB_ENUM_QUIRK}, 803 .driver_data = HID_SENSOR_HUB_ENUM_QUIRK},