]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: fix serial gadget ACM breakage
authorDavid Brownell <david-b@pacbell.net>
Sun, 26 Aug 2007 19:44:24 +0000 (12:44 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 Sep 2007 14:48:16 +0000 (07:48 -0700)
commit49b4f902857c3d8d95b47ae5a8cecb34ae96a3ba
tree8398d8c1acdd99035cdad0cfd2b78030db86078a
parent86833691c21efba661bd3512d2ebfa0b96c011c5
USB: fix serial gadget ACM breakage

Two of the CDC ACM control requests in the serial gadget have never
been correct, and have been reported to cause serious troubles ... as
in, soft lockup and maybe watchdog reset (depending on hardware).

This patch makes those request fail cleanly, rather than misbehaving.
Someone using CDC ACM should fix them according to the FIXME comments
which now replace the previous bugs.

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