diff options
author | Hans de Goede <hdegoede@redhat.com> | 2018-07-11 13:38:36 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2018-07-17 16:25:40 +0300 |
commit | 6e5dd6324a4ce3438b4e8ae35e1a0fdd096a0418 (patch) | |
tree | 36d054119debd1c003ae2c050949a1d12648a730 /drivers/hid/hid-elan.c | |
parent | 7ed3f281d8f36c19ca15fe7fcc52200668a73d72 (diff) | |
download | linux-6e5dd6324a4ce3438b4e8ae35e1a0fdd096a0418.tar.xz |
HID: elan: Add USB-id for HP x2 10-n000nd touchpad
Now that we query all the parameters, adding support for new hardware
is easy. This commit adds support for the touchpad found on the
HP x2 10-n000nd touchpad 2-in-1.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-elan.c')
-rw-r--r-- | drivers/hid/hid-elan.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/hid-elan.c b/drivers/hid/hid-elan.c index ae1e24061c0a..4b050d395ecc 100644 --- a/drivers/hid/hid-elan.c +++ b/drivers/hid/hid-elan.c @@ -470,6 +470,8 @@ static void elan_remove(struct hid_device *hdev) } static const struct hid_device_id elan_devices[] = { + { HID_USB_DEVICE(USB_VENDOR_ID_ELAN, USB_DEVICE_ID_HP_X2), + .driver_data = ELAN_HAS_LED }, { HID_USB_DEVICE(USB_VENDOR_ID_ELAN, USB_DEVICE_ID_HP_X2_10_COVER), .driver_data = ELAN_HAS_LED }, { } |