|
@@ -779,16 +779,6 @@ static int hid_scan_report(struct hid_device *hid)
|
|
|
(hid->group == HID_GROUP_MULTITOUCH))
|
|
|
hid->group = HID_GROUP_MULTITOUCH_WIN_8;
|
|
|
|
|
|
- /*
|
|
|
- * Vendor specific handlings
|
|
|
- */
|
|
|
- if ((hid->vendor == USB_VENDOR_ID_SYNAPTICS) &&
|
|
|
- (hid->group == HID_GROUP_GENERIC) &&
|
|
|
- /* only bind to the mouse interface of composite USB devices */
|
|
|
- (hid->bus != BUS_USB || hid->type == HID_TYPE_USBMOUSE))
|
|
|
- /* hid-rmi should take care of them, not hid-generic */
|
|
|
- hid->group = HID_GROUP_RMI;
|
|
|
-
|
|
|
/*
|
|
|
* Vendor specific handlings
|
|
|
*/
|
|
@@ -796,6 +786,13 @@ static int hid_scan_report(struct hid_device *hid)
|
|
|
case USB_VENDOR_ID_WACOM:
|
|
|
hid->group = HID_GROUP_WACOM;
|
|
|
break;
|
|
|
+ case USB_VENDOR_ID_SYNAPTICS:
|
|
|
+ if ((hid->group == HID_GROUP_GENERIC) &&
|
|
|
+ (hid->bus != BUS_USB || hid->type == HID_TYPE_USBMOUSE))
|
|
|
+ /* hid-rmi should only bind to the mouse interface of
|
|
|
+ * composite USB devices */
|
|
|
+ hid->group = HID_GROUP_RMI;
|
|
|
+ break;
|
|
|
}
|
|
|
|
|
|
vfree(parser);
|