android_kernel_sony_sdm845/drivers/usb/class
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tobias Herzog 25c1b59c21 cdc-acm: correct counting of UART states in serial state notification
commit f976d0e5747ca65ccd0fb2a4118b193d70aa1836 upstream.

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-11-10 07:43:00 -08:00
..
cdc-acm.c cdc-acm: correct counting of UART states in serial state notification 2018-11-10 07:43:00 -08:00
cdc-acm.h Revert "cdc-acm: implement put_char() and flush_chars()" 2018-09-26 08:36:37 +02:00
cdc-wdm.c Revert "usb: cdc-wdm: Fix a sleep-in-atomic-context bug in service_outstanding_interrupt()" 2018-10-03 17:01:50 -07:00
Kconfig USB: regroup all depends on USB within an if USB block 2013-04-09 16:49:07 -07:00
Makefile
usblp.c usblp: do not set TASK_INTERRUPTIBLE before lock 2015-11-19 16:31:42 -08:00
usbtmc.c USB: usbtmc: fix probe error path 2017-03-30 09:41:24 +02:00