diff options
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/usbhid/hid-core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hid/usbhid/hid-core.c b/drivers/hid/usbhid/hid-core.c index f0a0f72238ab..eed05a3017e5 100644 --- a/drivers/hid/usbhid/hid-core.c +++ b/drivers/hid/usbhid/hid-core.c | |||
@@ -711,6 +711,9 @@ static int usbhid_parse(struct hid_device *hid) | |||
711 | quirks = usbhid_lookup_quirk(le16_to_cpu(dev->descriptor.idVendor), | 711 | quirks = usbhid_lookup_quirk(le16_to_cpu(dev->descriptor.idVendor), |
712 | le16_to_cpu(dev->descriptor.idProduct)); | 712 | le16_to_cpu(dev->descriptor.idProduct)); |
713 | 713 | ||
714 | if (quirks & HID_QUIRK_IGNORE) | ||
715 | return -ENODEV; | ||
716 | |||
714 | /* Many keyboards and mice don't like to be polled for reports, | 717 | /* Many keyboards and mice don't like to be polled for reports, |
715 | * so we will always set the HID_QUIRK_NOGET flag for them. */ | 718 | * so we will always set the HID_QUIRK_NOGET flag for them. */ |
716 | if (interface->desc.bInterfaceSubClass == USB_INTERFACE_SUBCLASS_BOOT) { | 719 | if (interface->desc.bInterfaceSubClass == USB_INTERFACE_SUBCLASS_BOOT) { |