commit | 399aa9a75ad372b301e5050f3653a297a767fdc4 | [log] [tgz] |
---|---|---|
author | Lauri Hintsala <lauri.hintsala@bluegiga.com> | Wed Aug 13 15:02:53 2014 +0300 |
committer | Johan Hovold <johan@kernel.org> | Mon Sep 01 12:04:17 2014 +0200 |
tree | 9738bb249a31ba13cba86866cf641bdc915d7f7a | |
parent | 69e273c0b0a3c337a521d083374c918dc52c666f [diff] |
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>