Revert "usb: pl2303: remove 500000 baud from the list of standard baud rates"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Nov 2013 16:19:24 +0000 (09:19 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Nov 2013 16:19:24 +0000 (09:19 -0700)
This reverts commit b9208c721ce736125fe58d398319513a27850fd8.

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>
drivers/usb/serial/pl2303.c

index a0ea92ed35c62000ef7554416082d81b153f8e16..04390dff926ada7c495aa37432c19be49ae3492f 100644 (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,
                                         3600, 4800, 7200, 9600, 14400, 19200,
                                         28800, 38400, 57600, 115200, 230400,
-                                        460800, 614400, 921600, 1228800,
-                                        2457600, 3000000, 6000000 };
+                                        460800, 500000, 614400, 921600,
+                                        1228800, 2457600, 3000000, 6000000 };
                int i;
 
                /* Set baudrate to nearest supported value */