提交 336b9daf 编写于 作者: G Greg Kroah-Hartman

Revert "usb: pl2303: remove 500000 baud from the list of standard baud rates"

This reverts commit b9208c72.

Revert all of the pl2303 changes that went into 3.12-rc1 and -rc2 as
they cause regressions on some versions of the chip.  This will all be
revisited for later kernel versions when we can figure out how to handle
this in a way that does not break working devices.
Reported-by: NMika Westerberg <mika.westerberg@linux.intel.com>
Cc: Frank Schäfer <fschaefer.oss@googlemail.com>
Acked-by: NJohan Hovold <jhovold@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 692ed4dd
...@@ -291,8 +291,8 @@ static void pl2303_encode_baudrate(struct tty_struct *tty, ...@@ -291,8 +291,8 @@ static void pl2303_encode_baudrate(struct tty_struct *tty,
const int baud_sup[] = { 75, 150, 300, 600, 1200, 1800, 2400, const int baud_sup[] = { 75, 150, 300, 600, 1200, 1800, 2400,
3600, 4800, 7200, 9600, 14400, 19200, 3600, 4800, 7200, 9600, 14400, 19200,
28800, 38400, 57600, 115200, 230400, 28800, 38400, 57600, 115200, 230400,
460800, 614400, 921600, 1228800, 460800, 500000, 614400, 921600,
2457600, 3000000, 6000000 }; 1228800, 2457600, 3000000, 6000000 };
int i; int i;
/* Set baudrate to nearest supported value */ /* Set baudrate to nearest supported value */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册