]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Mon, 2 Apr 2012 16:26:53 +0000 (09:26 -0700)
commitc924f401df0c34336683c9e4848ab93e819f72a5
tree29b16ccf4e7cacf1d61ab774efde600a390886fa
parent168421aba8d57a7798c9a6ec2493ff6fa4b3cbae
USB: gadget: Make g_hid device class conform to spec.

commit 33d2832ab0149a26418d360af3c444969a63fb28 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/hid.c