Skip to content
Commit 399aa9a7 authored by Lauri Hintsala's avatar Lauri Hintsala Committed by Johan Hovold
Browse files

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: default avatarLauri Hintsala <lauri.hintsala@bluegiga.com>
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent 69e273c0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment