]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
cdc-acm: fix BREAK rx code path adding necessary calls
authorOliver Neukum <oneukum@suse.com>
Thu, 11 Mar 2021 13:37:14 +0000 (14:37 +0100)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 8 Apr 2021 20:42:53 +0000 (15:42 -0500)
commitb2e6aa3bbb2f2b7e26a796b1aad68b033d922d17
tree4df48b38c23f1e4ec68be8d9564c2130e10c2ec0
parentd52ceeb4bef61ff64b0390dad86aec955d0c7a7b
cdc-acm: fix BREAK rx code path adding necessary calls

BugLink: https://bugs.launchpad.net/bugs/1923069
commit 08dff274edda54310d6f1cf27b62fddf0f8d146e upstream.

Counting break events is nice but we should actually report them to
the tty layer.

Fixes: 5a6a62bdb9257 ("cdc-acm: add TIOCMIWAIT")
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Link: https://lore.kernel.org/r/20210311133714.31881-1-oneukum@suse.com
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
drivers/usb/class/cdc-acm.c