]> git.baikalelectronics.ru Git - kernel.git/commit
usb: pl2303: also use the divisor based baud rate encoding method for baud rates...
authorFrank Schäfer <fschaefer.oss@googlemail.com>
Tue, 6 Aug 2013 17:26:28 +0000 (19:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 22:43:41 +0000 (15:43 -0700)
commita816d46425a7ed0b036ddfc09e543cfa0fdea2b6
tree082c2fad20454ee01afd460c98e1e8169ccbcea0
parent263bffd7c5b863cec3d24fb5215043bd620e06b9
usb: pl2303: also use the divisor based baud rate encoding method for baud rates < 115200 with HX chips

Now that the divisor based baud rate encoding method has been fixed and
extended, it can also be used for baud rates < 115200 baud with HX
chips.
This makes it possible to adjust the baud rate almost continuously
instead of just beeing able to select between 16 fixed standard values.

Tested with a PL2303HX 04463A (week 46, 2004, rev 3A).

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/pl2303.c