diff options
author | Mark Adamson <mark.adamson@ftdichip.com> | 2009-11-24 09:39:10 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-02 14:53:05 -0800 |
commit | cabe6cc2be287d0020d70944e8d0d0304e484a6c (patch) | |
tree | 338230e9d2987dacbc362923a334d4185153b764 /drivers/usb/serial/ftdi_sio.c | |
parent | 8c4f99cd54469d643e27a743045da848f7b63fe5 (diff) | |
download | blackbird-obmc-linux-cabe6cc2be287d0020d70944e8d0d0304e484a6c.tar.gz blackbird-obmc-linux-cabe6cc2be287d0020d70944e8d0d0304e484a6c.zip |
USB: ftdi_sio: remove support for 5 and 6 data bits
Removed CS5 and CS6 from data bits since these are not supported
in FTDI hardware.
Signed-off-by: Mark J. Adamson <mark.adamson@ftdichip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/ftdi_sio.c')
-rw-r--r-- | drivers/usb/serial/ftdi_sio.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index 9979d4920a32..44c5b7717fe8 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c @@ -2246,12 +2246,10 @@ static void ftdi_set_termios(struct tty_struct *tty, } if (cflag & CSIZE) { switch (cflag & CSIZE) { - case CS5: urb_value |= 5; dbg("Setting CS5"); break; - case CS6: urb_value |= 6; dbg("Setting CS6"); break; case CS7: urb_value |= 7; dbg("Setting CS7"); break; case CS8: urb_value |= 8; dbg("Setting CS8"); break; default: - dev_err(&port->dev, "CSIZE was set but not CS5-CS8\n"); + dev_err(&port->dev, "CSIZE was set but not CS7-CS8\n"); } } |