]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: ftdi_sio: simplify divisor handling
authorJohan Hovold <johan@kernel.org>
Sun, 11 Sep 2022 14:02:15 +0000 (16:02 +0200)
committerJohan Hovold <johan@kernel.org>
Thu, 15 Sep 2022 06:06:05 +0000 (08:06 +0200)
commitdfb0f0ac897b2d6e96b31fe6662a9d592c80ea56
tree52869cc1620d141c7833a4730c2090ba6f346f16
parent83a8bb3d1195d94415351ae97169d23e0bb5ce57
USB: serial: ftdi_sio: simplify divisor handling

In preparation for adding further Hi-Speed types, assume the device type
is Hi-Speed unless it's an explicitly listed legacy type when
determining divisors.

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