summaryrefslogtreecommitdiff
path: root/drivers/usb/serial/pl2303.c
diff options
context:
space:
mode:
authorFrank Schäfer <fschaefer.oss@googlemail.com>2013-08-06 19:26:25 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-12 15:43:40 -0700
commitb9208c721ce736125fe58d398319513a27850fd8 (patch)
treeb8a02caa87ba33bf9cd8e2ee5d12dcb8e757b0d3 /drivers/usb/serial/pl2303.c
parent75417d9f99f89ab241de69d7db15af5842b488c4 (diff)
usb: pl2303: remove 500000 baud from the list of standard baud rates
Commit 0c967e7e "USB: serial: pl2303 works at 500kbps" added 500000 baud to the list of supported standard baud rates. But the reason why the driver works with this baud rate is, that since commit 8d48fdf6 "USB: PL2303: correctly handle baudrates above 115200" a second (divisor based) baud rate encoding method is used for values above 115200 baud, which is not limited to a fixed set of standard baud rates. Remove the 500000 baud value from the list of standard baud rates again, because this list is only used with the direct baud rate encoding method and 500000 baud is not supported with this method. Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/pl2303.c')
-rw-r--r--drivers/usb/serial/pl2303.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c
index 04390dff926a..a0ea92ed35c6 100644
--- a/drivers/usb/serial/pl2303.c
+++ b/drivers/usb/serial/pl2303.c
@@ -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, 500000, 614400, 921600,
- 1228800, 2457600, 3000000, 6000000 };
+ 460800, 614400, 921600, 1228800,
+ 2457600, 3000000, 6000000 };
int i;
/* Set baudrate to nearest supported value */