]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: pl2303: TA & TB alternate divider with non-standard baud rates
authorMichael G. Katzmann <michaelk@IEEE.org>
Tue, 16 Mar 2021 17:17:00 +0000 (13:17 -0400)
committerJohan Hovold <johan@kernel.org>
Wed, 17 Mar 2021 08:25:50 +0000 (09:25 +0100)
commit7876ad2576c34a98e9499c623afc4c8ac48862ad
tree156265d476e46b92a585d15343f61397b7a1e9f0
parentffe50c686eb4bb70d39e9caee741eaaa2d4ee3a9
USB: serial: pl2303: TA & TB alternate divider with non-standard baud rates

Use an alternate clock divider algorithm and bit ordering for the TA and
TB versions of the pl2303. It was discovered that these variants do not
produce the correct baud rates with the existing scheme.

see https://lore.kernel.org/r/3aee5708-7961-f464-8c5f-6685d96920d6@IEEE.org

Signed-off-by: Michael G. Katzmann <michaelk@IEEE.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/pl2303.c