]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: pl2303 works at 500kbps
authorLuca Olivetti <luca@ventoso.org>
Tue, 21 May 2013 11:31:31 +0000 (13:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Jun 2013 21:33:26 +0000 (14:33 -0700)
commitc1fb70c680963e1b9e2ac714f82f797211b7e7d7
treea188a1cea138c956a377f5b32c545cd795347f2e
parenta078e75b85999499831e4ed98b1f8d770a54f848
USB: serial: pl2303 works at 500kbps

My PL2303HX works at 500kbps after applying this patch.
I suppose that it could work at other non standard speeds since this fix

"correctly handle baudrates above 115200"
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/usb/serial/pl2303.c?id=ca463617908496c6cf91e7bb59b04d8606c4bf5b

came after this one

"fix baud rate handling in case of unsupported values"
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/usb/serial/pl2303.c?id=c98e71654531a8411c65fd6a5d167004874bfe3a

but I only can test it with 500000.
Patch made against mainline but tested with 3.4.45

Signed-off-by: Luca Olivetti <luca@ventoso.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/pl2303.c