USB: serial: return errors from break handling
authorJohan Hovold <johan@kernel.org>
Sun, 4 Jun 2023 12:35:03 +0000 (14:35 +0200)
committerJohan Hovold <johan@kernel.org>
Wed, 7 Jun 2023 15:00:23 +0000 (17:00 +0200)
commit6ff58ae17fd9523246a260434133ed9ab7f56df2
tree286bf3fdeec1bef50a64f4597deef90c55f1c82f
parent9561de3a55bed6bdd44a12820ba81ec416e705a7
USB: serial: return errors from break handling

Start propagating errors to user space when setting the break state
fails.

This will be used by follow-on changes to also report when a driver or
device does not support break control.

Tested-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
25 files changed:
drivers/usb/serial/ark3116.c
drivers/usb/serial/belkin_sa.c
drivers/usb/serial/ch341.c
drivers/usb/serial/cp210x.c
drivers/usb/serial/digi_acceleport.c
drivers/usb/serial/f81232.c
drivers/usb/serial/f81534.c
drivers/usb/serial/ftdi_sio.c
drivers/usb/serial/io_edgeport.c
drivers/usb/serial/io_ti.c
drivers/usb/serial/keyspan.c
drivers/usb/serial/keyspan_pda.c
drivers/usb/serial/mct_u232.c
drivers/usb/serial/mos7720.c
drivers/usb/serial/mos7840.c
drivers/usb/serial/mxuport.c
drivers/usb/serial/pl2303.c
drivers/usb/serial/quatech2.c
drivers/usb/serial/ti_usb_3410_5052.c
drivers/usb/serial/upd78f0730.c
drivers/usb/serial/usb-serial.c
drivers/usb/serial/usb_debug.c
drivers/usb/serial/whiteheat.c
drivers/usb/serial/xr_serial.c
include/linux/usb/serial.h