Commit c24f42276b4c4467e82cdd5a941fb7f9400aeea0
Committed by
Greg Kroah-Hartman
1 parent
28874b7ec4
Exists in
master
and in
20 other branches
usb gadget: minor USBCV fix for composite framework
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>
Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff
drivers/usb/gadget/composite.c
... | ... | @@ -294,6 +294,7 @@ |
294 | 294 | /* ASSUME same EP0 fifo size at both speeds */ |
295 | 295 | qual->bMaxPacketSize0 = cdev->desc.bMaxPacketSize0; |
296 | 296 | qual->bNumConfigurations = count_configs(cdev, USB_DT_DEVICE_QUALIFIER); |
297 | + qual->bRESERVED = 0; | |
297 | 298 | } |
298 | 299 | |
299 | 300 | /*-------------------------------------------------------------------------*/ |