USB: gadget: Make g_hid device class conform to spec.
authorOrjan Friberg <of@flatfrog.com>
Wed, 7 Mar 2012 16:16:14 +0000 (17:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Mar 2012 21:11:34 +0000 (13:11 -0800)
commit33d2832ab0149a26418d360af3c444969a63fb28
tree3a7b6bca37125bb20fe2c3e45ef30a2c3d97dd93
parent3cc3615749dbd1b891512d5c9a5bf4559cfa9741
USB: gadget: Make g_hid device class conform to spec.

HID devices should specify this in their interface descriptors, not in the
device descriptor. This fixes a "missing hardware id" bug under Windows 7 with
a VIA VL800 (3.0) controller.

Signed-off-by: Orjan Friberg <of@flatfrog.com>
Cc: Felipe Balbi <balbi@ti.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/hid.c