summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/usb-serial-simple.c
diff options
context:
space:
mode:
authorLauri Hintsala <lauri.hintsala@bluegiga.com>2014-08-13 15:02:53 +0300
committerJohan Hovold <johan@kernel.org>2014-09-01 12:04:17 +0200
commit399aa9a75ad372b301e5050f3653a297a767fdc4 (patch)
tree9738bb249a31ba13cba86866cf641bdc915d7f7a /drivers/usb/serial/usb-serial-simple.c
parent69e273c0b0a3c337a521d083374c918dc52c666f (diff)
downloadop-kernel-dev-399aa9a75ad372b301e5050f3653a297a767fdc4.zip
op-kernel-dev-399aa9a75ad372b301e5050f3653a297a767fdc4.tar.gz
USB: pl2303: use divisors for unsupported baud rates
Use direct method for supported baud rates, otherwise use divisors. Limit baud rate to 12 Mbaud with HX type. This change has been tested to work with PL-2303HX at 115200, 500000, 1000000, 2000000, 2500000, 3000000 and 4000000 baud rates. Signed-off-by: Lauri Hintsala <lauri.hintsala@bluegiga.com> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial/usb-serial-simple.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud