]> Git Repo - linux.git/commit
USB: serial gadget: descriptor cleanup
authorDavid Brownell <[email protected]>
Wed, 7 May 2008 21:27:37 +0000 (14:27 -0700)
committerGreg Kroah-Hartman <[email protected]>
Wed, 14 May 2008 17:00:28 +0000 (10:00 -0700)
commitb9370332f4879360ef7126f7a19c660e87084290
treef5538d78a167514912e84bccd3554cf6d0bf370f
parent734d37c654569f03156f8603a9761c402a73aa20
USB: serial gadget: descriptor cleanup

Bugfix some serial gadget descriptors:

 - Stop mangling the low bits (controller type ID) of bcdDevice;
   just use the high bits for a driver revision code.

 - Serial numbers that aren't specific to individual devices
   are useless; stop reporting "0" for this.

 - Since it's not part of a CDC-conformant function, the "bulk only"
   configuration shouldn't be using "CDC Data" as its interface class.
   Switch over to using CLASS_VENDOR_SPEC (different value, 0xff).

Signed-off-by: David Brownell <[email protected]>
Cc: Al Borchers <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/usb/gadget/serial.c
This page took 0.054783 seconds and 4 git commands to generate.