USB: dbgp gadget: set MaxpacketSize0
authorSven Schnelle <svens@stackframe.org>
Wed, 23 Mar 2011 20:24:55 +0000 (21:24 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 30 Apr 2011 00:24:30 +0000 (17:24 -0700)
commit83b720199393fe2be38159354ef5a07a1b861e61
tree9455fa42179647ec879d0e8e3d86eade689f2b1e
parent1744020ceb86c83d8116d28c7bdd221d071ca213
USB: dbgp gadget: set MaxpacketSize0

The current code doesn't set it, so linux complains about
it when connected, and ignores the device:

[104611.068082] usb 1-5: new high speed USB device using ehci_hcd and address 127
[104611.088368] usb 1-5: Invalid ep0 maxpacket: 0

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/dbgp.c