linux-stable/drivers/usb/serial
Johan Hovold 67a9487790 USB: serial: ssu100: fix TIOCGSERIAL implementation
TIOCSSERIAL is a horrid, underspecified, legacy interface which for most
serial devices is only useful for setting the close_delay and
closing_wait parameters.

The xmit_fifo_size parameter could be used to set the hardware transmit
fifo size of a legacy UART when it could not be detected, but the
interface is limited to eight bits and should be left unset when not
used.

Similarly, baud_base could be used to set the UART base clock when it
could not be detected but might as well be left unset when it is not
known.

The close_delay and closing_wait parameters returned by TIOCGSERIAL are
specified in centiseconds (not jiffies). The driver does not yet support
changing these, but let's report back the default values actually used
(0.5 and 30 seconds, respectively).

Fixes: 52af954599 ("USB: add USB serial ssu100 driver")
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
2021-04-08 09:45:57 +02:00
..
aircable.c
ark3116.c USB: serial: ark3116: fix TIOCGSERIAL implementation 2021-04-08 09:45:51 +02:00
belkin_sa.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
belkin_sa.h
bus.c USB: serial: drop bogus to_usb_serial_port() checks 2021-02-09 13:14:30 +01:00
ch341.c USB: serial: ch341: add new Product ID 2021-03-09 09:05:36 +01:00
console.c
cp210x.c USB: serial: cp210x: add some more GE USB IDs 2021-03-09 09:05:36 +01:00
cyberjack.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
cypress_m8.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
cypress_m8.h
digi_acceleport.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
empeg.c
ezusb_convert.pl
f81232.c USB: serial: f81232: fix TIOCGSERIAL implementation 2021-04-08 09:45:52 +02:00
f81534.c USB: serial: f81534: fix TIOCGSERIAL implementation 2021-04-08 09:45:52 +02:00
ftdi_sio.c USB: serial: ftdi_sio: fix TIOCGSERIAL implementation 2021-04-08 09:45:53 +02:00
ftdi_sio.h
ftdi_sio_ids.h
garmin_gps.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
generic.c
io_16654.h
io_edgeport.c USB: serial: io_edgeport: fix TIOCGSERIAL implementation 2021-04-08 09:45:53 +02:00
io_edgeport.h
io_ionsp.h
io_ti.c USB: serial: io_ti: fix TIOCGSERIAL implementation 2021-04-08 09:45:54 +02:00
io_ti.h
io_usbvend.h
ipaq.c
ipw.c
ir-usb.c
iuu_phoenix.c USB: serial: iuu_phoenix: remove redundant variable 'error' 2021-04-01 09:53:14 +02:00
iuu_phoenix.h
Kconfig USB: serial: add MaxLinear/Exar USB to Serial driver 2021-01-21 10:49:37 +01:00
keyspan.c USB: serial: keyspan: drop unneeded forward declarations 2021-03-15 09:29:47 +01:00
keyspan_pda.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
kl5kusb105.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
kl5kusb105.h
kobil_sct.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
kobil_sct.h
Makefile USB: serial: add MaxLinear/Exar USB to Serial driver 2021-01-21 10:49:37 +01:00
Makefile-keyspan_pda_fw
mct_u232.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
mct_u232.h
metro-usb.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
mos7720.c USB: serial: mos7720: fix TIOCGSERIAL implementation 2021-04-08 09:45:54 +02:00
mos7840.c USB: serial: mos7840: fix TIOCGSERIAL implementation 2021-04-08 09:45:55 +02:00
mxuport.c USB: serial: mxuport: drop short control-transfer check 2021-01-18 14:26:14 +01:00
navman.c
omninet.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
opticon.c USB: serial: opticon: fix TIOCGSERIAL implementation 2021-04-08 09:45:56 +02:00
option.c USB-serial updates for 5.12-rc1 2021-02-10 15:58:04 +01:00
oti6858.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
oti6858.h
pl2303.c USB: serial: pl2303: fix TIOCGSERIAL implementation 2021-04-08 09:45:56 +02:00
pl2303.h
qcaux.c
qcserial.c
quatech2.c USB: serial: quatech2: fix TIOCGSERIAL implementation 2021-04-08 09:45:56 +02:00
safe_serial.c
sierra.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
spcp8x5.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
ssu100.c USB: serial: ssu100: fix TIOCGSERIAL implementation 2021-04-08 09:45:57 +02:00
symbolserial.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
ti_usb_3410_5052.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
upd78f0730.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
usb-serial-simple.c
usb-serial.c USB: serial: add support for multi-interface functions 2021-04-01 10:04:07 +02:00
usb-wwan.h USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
usb_debug.c
usb_wwan.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
visor.c
visor.h
whiteheat.c USB: serial: make remove callback return void 2021-02-09 13:13:58 +01:00
whiteheat.h
wishbone-serial.c
xr_serial.c USB: serial: xr: claim both interfaces 2021-04-01 10:04:21 +02:00
xsens_mt.c