linux/drivers/usb/class
Johan Hovold 3d38bc715d USB: cdc-acm: add quirk for control-line state requests
commit 2a8cdfde92 upstream.

Add new quirk for devices that cannot handle control-line state
requests.

Note that we currently send these requests to all devices, regardless of
whether they claim to support it, but that errors are only logged if
support is claimed.

Since commit 0943d8ead3 ("USB: cdc-acm: use tty-port dtr_rts"), which
only changed the timings for these requests slightly, this has been
reported to cause occasional firmware crashes on Simtec Electronics
Entropy Key devices after re-enumeration. Enable the quirk for this
device.

Reported-by: Nix <nix@esperi.org.uk>
Tested-by: Nix <nix@esperi.org.uk>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
History 2014-11-14 15:20:01 +00:00
..
cdc-acm.c USB: cdc-acm: add quirk for control-line state requests 2014-11-14 15:20:01 +00:00
cdc-acm.h USB: cdc-acm: add quirk for control-line state requests 2014-11-14 15:20:01 +00:00
cdc-wdm.c usb: cdc-wdm: resp_count can be 0 even if WDM_READ is set 2014-01-12 20:13:28 -08:00
Kconfig USB: regroup all depends on USB within an if USB block 2013-04-09 16:49:07 -07:00
Makefile USB: add USB test and measurement class driver 2008-10-17 14:40:51 -07:00
usblp.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
usbtmc.c USB: usbtmc: fix DMA on stack 2014-05-27 16:03:57 -07:00