Centos-kernel-stream-9/drivers/tty
Desnes Nunes e165c25833 usb: cdc-acm: return correct error code on unsupported break
JIRA: https://issues.redhat.com/browse/RHEL-34114

commit 66aad7d8d3ec5a3a8ec2023841bcec2ded5f65c9
Author: Oliver Neukum <oneukum@suse.com>
Date: Thu, 7 Dec 2023 14:26:30 +0100

  In ACM support for sending breaks to devices is optional.
  If a device says that it doenot support sending breaks,
  the host must respect that.
  Given the number of optional features providing tty operations
  for each combination is not practical and errors need to be
  returned dynamically if unsupported features are requested.

  In case a device does not support break, we want the tty layer
  to treat that like it treats drivers that statically cannot
  support sending a break. It ignores the inability and does nothing.
  This patch uses EOPNOTSUPP to indicate that.

  Signed-off-by: Oliver Neukum <oneukum@suse.com>
  Fixes: 9e98966c7b ("tty: rework break handling")
  Link: https://lore.kernel.org/r/20231207132639.18250-1-oneukum@suse.com
  Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Signed-off-by: Desnes Nunes <desnesn@redhat.com>
2024-05-20 13:28:46 -03:00
..
hvc hvc/xen: fix console unplug 2024-05-09 11:26:16 -04:00
ipwireless
serdev serdev: Replace custom code with device_match_acpi_handle() 2024-05-09 11:26:17 -04:00
serial Fix for "serial: 8250: Toggle IER bits on only after irq has been setup" 2024-05-17 10:23:56 -03:00
vt vt: fix unicode buffer corruption when deleting characters 2024-05-09 11:26:17 -04:00
Kconfig
Makefile
amiserial.c
ehv_bytechan.c
goldfish.c
mips_ejtag_fdc.c
moxa.c
mxser.c mxser: Annotate struct mxser_board with __counted_by 2024-05-09 11:26:13 -04:00
n_gsm.c tty: n_gsm: add copyright Siemens Mobility GmbH 2024-05-09 11:26:17 -04:00
n_hdlc.c
n_null.c
n_tty.c tty: invert return values of tty_{,un}throttle_safe() 2024-05-09 11:26:12 -04:00
nozomi.c
pty.c
rpmsg_tty.c
synclink_gt.c
sysrq.c tty/sysrq: replace smp_processor_id() with get_cpu() 2024-05-09 11:26:15 -04:00
tty.h tty: convert THROTTLE constants into enum 2024-05-09 11:26:13 -04:00
tty_audit.c
tty_baudrate.c
tty_buffer.c tty: tty_buffer: use bool for 'restart' in tty_buffer_unlock_exclusive() 2024-05-09 11:26:12 -04:00
tty_io.c usb: cdc-acm: return correct error code on unsupported break 2024-05-20 13:28:46 -03:00
tty_ioctl.c tty: convert THROTTLE constants into enum 2024-05-09 11:26:13 -04:00
tty_jobctrl.c tty: tty_jobctrl: fix pid memleak in disassociate_ctty() 2024-05-09 11:26:05 -04:00
tty_ldisc.c
tty_ldsem.c
tty_mutex.c
tty_port.c tty: stop using ndash in kernel-doc 2024-05-09 11:26:12 -04:00
ttynull.c
vcc.c tty: vcc: Add check for kstrdup() in vcc_probe() 2024-05-09 11:26:05 -04:00