]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
USB: serial: cp210x: improve baudrate support for CP2102N
authorKaroly Pados <pados@pados.hu>
Wed, 18 Jul 2018 12:24:59 +0000 (14:24 +0200)
committerJohan Hovold <johan@kernel.org>
Wed, 18 Jul 2018 19:53:58 +0000 (21:53 +0200)
commit6f0bcf720ea81e90e6066d14d5506565049a2eb5
treecd5d6d19497a6b700cd23a0af42fb0aa6583f092
parentd4706c05c59d7afdadd8e7cfc1bf470356938c89
USB: serial: cp210x: improve baudrate support for CP2102N

CP2102N devices support a lot more baudrates than earlier chips by
SiLabs. These devices are not constrained anymore by the table in AN205,
and are able to generate almost any baudrate in the supported range
with only minimal errors. This has also been verified with a scope on
a physical device. This patch adds support for all baudrates supported
by the CP2102N.

Signed-off-by: Karoly Pados <pados@pados.hu>
[johan: rework on top of an205 and max-speed patches ]
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/cp210x.c