]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: ftdi_sio: clean up modem-status handling
authorJohan Hovold <johan@kernel.org>
Sun, 11 Sep 2022 14:02:11 +0000 (16:02 +0200)
committerJohan Hovold <johan@kernel.org>
Thu, 15 Sep 2022 06:05:57 +0000 (08:05 +0200)
commit90795e852507990849d2d86e35feb075db27e3e3
tree8469d0fdeb556def1f32d889839ad2c73ec8b86e
parent212699725aaebc78c857efb898e88775f59fa956
USB: serial: ftdi_sio: clean up modem-status handling

All chip types but the original SIO (FT8U100AX) return a two-byte modem
status and there's no need to explicitly list every other type in the
handler.

Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/ftdi_sio.c