kernel_optimize_test/drivers/usb/class
Tobias Herzog f976d0e574 cdc-acm: correct counting of UART states in serial state notification
The usb standard ("Universal Serial Bus Class Definitions for Communication
Devices") distiguishes between "consistent signals" (DSR, DCD), and
"irregular signals" (break, ring, parity error, framing error, overrun).
The bits of "irregular signals" are set, if this error/event occurred on
the device side and are immeadeatly unset, if the serial state notification
was sent.
Like other drivers of real serial ports do, just the occurence of those
events should be counted in serial_icounter_struct (but no 1->0
transitions).

Signed-off-by: Tobias Herzog <t-herzog@gmx.de>
Acked-by: Oliver Neukum <oneukum@suse.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-10-09 16:13:42 +02:00
..
cdc-acm.c cdc-acm: correct counting of UART states in serial state notification 2018-10-09 16:13:42 +02:00
cdc-acm.h Revert "cdc-acm: implement put_char() and flush_chars()" 2018-09-10 20:40:29 +02:00
cdc-wdm.c Revert "usb: cdc-wdm: Fix a sleep-in-atomic-context bug in service_outstanding_interrupt()" 2018-09-20 12:47:41 +02:00
Kconfig
Makefile
usblp.c
usbtmc.c usb: usbtmc: Add support for 32 bit compat applications 2018-07-24 13:50:50 +02:00