HID: add HID_QUIRK_HIDDEV_FORCE and HID_QUIRK_NO_IGNORE
[deliverable/linux.git] / drivers / hid / usbhid / hid-core.c
index 9cd61a52e9e36f512356ac59a32610b21ebffa8a..245aef0de8f22e6f04a5a9432d6bb2c3347565bc 100644 (file)
@@ -1143,6 +1143,7 @@ static int usbhid_probe(struct usb_interface *intf, const struct usb_device_id *
        hid->vendor = le16_to_cpu(dev->descriptor.idVendor);
        hid->product = le16_to_cpu(dev->descriptor.idProduct);
        hid->name[0] = 0;
+       hid->quirks = usbhid_lookup_quirk(hid->vendor, hid->product);
        if (intf->cur_altsetting->desc.bInterfaceProtocol ==
                        USB_INTERFACE_PROTOCOL_MOUSE)
                hid->type = HID_TYPE_USBMOUSE;
This page took 0.02568 seconds and 5 git commands to generate.