]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
xhci: dbctty: disable ECHO flag by default
authorŁukasz Bartosik <ukaszb@chromium.org>
Fri, 27 Jun 2025 14:41:21 +0000 (17:41 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2025 13:59:52 +0000 (15:59 +0200)
commitc3b52294e6de2aa5511b90944a62457bca90254f
tree29c387e17e95b609a180b2c14900b3e6fe425840
parent7135056a49035597198280820c61b8c5dbe4a1d0
xhci: dbctty: disable ECHO flag by default

commit 2b857d69a5e116150639a0c6c39c86cc329939ee upstream.

When /dev/ttyDBC0 device is created then by default ECHO flag
is set for the terminal device. However if data arrives from
a peer before application using /dev/ttyDBC0 applies its set
of terminal flags then the arriving data will be echoed which
might not be desired behavior.

Fixes: 4521f1613940 ("xhci: dbctty: split dbc tty driver registration and unregistration functions.")
Cc: stable <stable@kernel.org>
Signed-off-by: Łukasz Bartosik <ukaszb@chromium.org>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/stable/20250610111802.18742-1-ukaszb%40chromium.org
Link: https://lore.kernel.org/r/20250627144127.3889714-4-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-dbgtty.c