summaryrefslogtreecommitdiff
path: root/usr/src/dkms_source_tree/hid-egalax.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/dkms_source_tree/hid-egalax.c')
-rw-r--r--usr/src/dkms_source_tree/hid-egalax.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/src/dkms_source_tree/hid-egalax.c b/usr/src/dkms_source_tree/hid-egalax.c
index db4fbc9..625e947 100644
--- a/usr/src/dkms_source_tree/hid-egalax.c
+++ b/usr/src/dkms_source_tree/hid-egalax.c
@@ -272,7 +272,7 @@ static int egalax_probe(struct hid_device *hdev, const struct hid_device_id *id)
272 if (ret) 272 if (ret)
273 goto end; 273 goto end;
274 274
275 report = hdev->report_enum[HID_FEATURE_REPORT].report_id_hash[5]; 275 report = hdev->report_enum[HID_FEATURE_REPORT].report_id_hash[5];
276 if (report) { 276 if (report) {
277 report->field[0]->value[0] = 2; 277 report->field[0]->value[0] = 2;
278 usbhid_submit_report(hdev, report, USB_DIR_OUT); 278 usbhid_submit_report(hdev, report, USB_DIR_OUT);
@@ -294,6 +294,8 @@ static void egalax_remove(struct hid_device *hdev)
294 294
295static const struct hid_device_id egalax_devices[] = { 295static const struct hid_device_id egalax_devices[] = {
296 { HID_USB_DEVICE(USB_VENDOR_ID_DWAV, 296 { HID_USB_DEVICE(USB_VENDOR_ID_DWAV,
297 USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH) },
298 { HID_USB_DEVICE(USB_VENDOR_ID_DWAV,
297 USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH1) }, 299 USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH1) },
298 { } 300 { }
299}; 301};
@@ -305,7 +307,7 @@ static const struct hid_usage_id egalax_grabbed_usages[] = {
305}; 307};
306 308
307static struct hid_driver egalax_driver = { 309static struct hid_driver egalax_driver = {
308 .name = "egalax-joojoo", 310 .name = "egalax-touch",
309 .id_table = egalax_devices, 311 .id_table = egalax_devices,
310 .probe = egalax_probe, 312 .probe = egalax_probe,
311 .remove = egalax_remove, 313 .remove = egalax_remove,