Commit 58e20477 authored by David Brownell's avatar David Brownell Committed by Greg Kroah-Hartman

[PATCH] hid-core and hotplug

  
This restores a line someone deleted, which
affects hotplugging.  Basically this restores
correct/previous behavior:  the HID driver only
matches HID devices, not every device that
ever connects.
parent b221dfdb
......@@ -1452,7 +1452,8 @@ static void hid_disconnect(struct usb_device *dev, void *ptr)
}
static struct usb_device_id hid_usb_ids [] = {
{ bInterfaceClass: USB_INTERFACE_CLASS_HID },
{ match_flags: USB_DEVICE_ID_MATCH_INT_CLASS,
bInterfaceClass: USB_INTERFACE_CLASS_HID },
{ } /* Terminating entry */
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment