OSDN Git Service

usb serial gadget: CDC ACM fixes
authorDavid Brownell <david-b@pacbell.net>
Sat, 19 Apr 2008 00:37:49 +0000 (17:37 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 2 May 2008 17:25:53 +0000 (10:25 -0700)
commitf371e750c9324f3498842ee833a0242a11b359e6
tree9a5a0415554f323ff53c8d39c2c5217ac0fae5ec
parentd75379a538708c5a8e3dba673d866c3f5f856620
usb serial gadget: CDC ACM fixes

Based on a patch from <Aurel.Thomi@ruag.com>, this makes the
CDC-ACM support in the serial gadget handle the SET_LINE_CODING
and SET_CONTROL_LINE_STATE requests ... which should improve
interop with at least MS-Windows "usbser.sys" if not some other
ACM host drivers.

It also adds a few REVISIT comments where this code plays a bit
loose with the CDC ACM spec.  If this were used to hook up to a
real RS232 or modem link, those places would need a bit of work.

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