[PATCH v3] pl2303: use divisors for unsupported baud rates

2014-08-13 Thread Lauri Hintsala
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, 50, 100, 200, 250, 300 and 400 baud rates. Signed-off-by: Lauri Hintsala --- CC: Johan Hovold CC

[PATCH v2] pl2303: use divisors for unsupported baud rates

2014-08-13 Thread Lauri Hintsala
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, 50, 100, 200, 250, 300 and 400 baud rates. Signed-off-by: Lauri Hintsala --- CC: Johan Hovold CC

Re: [PATCH v2] pl2303: use divisors for unsupported baud rates

2014-08-13 Thread Lauri Hintsala
Please ignore this patch. There was a typo. I sent it too early before testing it. My mistake. Sorry. Lauri On 08/13/2014 02:46 PM, Lauri Hintsala wrote: Use direct method for supported baud rates, otherwise use divisors. Limit baud rate to 12 Mbaud with HX type. This change has been tested

Re: [PATCH] pl2303: use divisors for unsupported baud rates

2014-08-13 Thread Lauri Hintsala
On 08/13/2014 01:01 PM, Johan Hovold wrote: On Wed, Aug 13, 2014 at 07:51:52AM +0300, Lauri Hintsala wrote: Please describe your change also in the message body. OK This change has been tested to work with PL-2303HX at 115200, 50, 100, 200, 250, 300 and 400 baud

[PATCH] pl2303: use divisors for unsupported baud rates

2014-08-12 Thread Lauri Hintsala
This change has been tested to work with PL-2303HX at 115200, 50, 100, 200, 250, 300 and 400 baud rates. Signed-off-by: Lauri Hintsala --- CC: Johan Hovold CC: Greg Kroah-Hartman CC: linux-usb@vger.kernel.org drivers/usb/serial/pl2303.c | 10 -- 1 file changed