]> git.baikalelectronics.ru Git - kernel.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)
commit8d42a1f6eb52fa20734348b16a65f98ebcb83c40
tree8398d8c1acdd99035cdad0cfd2b78030db86078a
parentc9937562c7921edda6ed885a7a79c791081b4a13
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