]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
usb gadget: minor USBCV fix for composite framework
authorDavid Lopo <dlopo@chipidea.mips.com>
Tue, 1 Jul 2008 20:14:17 +0000 (13:14 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Jul 2008 22:16:48 +0000 (15:16 -0700)
Fill in a reserved/unused device qualifier field to ensure that
the USBCV tests will always pass.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/composite.c

index b3d302a6a081ebf9c82814774ce019b1ce96c645..85c876c1f150b734eb2193e62760bb9f6b972785 100644 (file)
@@ -294,6 +294,7 @@ static void device_qual(struct usb_composite_dev *cdev)
        /* ASSUME same EP0 fifo size at both speeds */
        qual->bMaxPacketSize0 = cdev->desc.bMaxPacketSize0;
        qual->bNumConfigurations = count_configs(cdev, USB_DT_DEVICE_QUALIFIER);
+       qual->bRESERVED = 0;
 }
 
 /*-------------------------------------------------------------------------*/