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

This reverts commit b9208c721c.

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: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: Frank Schäfer <fschaefer.oss@googlemail.com>
Acked-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Greg Kroah-Hartman 2013-11-01 09:19:24 -07:00
parent 692ed4ddf0
commit 336b9daf90
1 changed files with 2 additions and 2 deletions

View File

@ -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 */