]> 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)
commitd67ba25630667c794fd3de9cd91a39467c7bd966
tree8469d0fdeb556def1f32d889839ad2c73ec8b86e
parent125771faaaf4ea5b1581e37a0b0fe6d349164753
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