aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/ftdi_sio.c
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2005-09-12 07:23:25 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-09-12 15:23:54 -0400
commitf5e09b7cac4a2705f55830db64d448c062e84e8e (patch)
tree604a8fb44b20f35b740351a42904c19de5d3a728 /drivers/usb/serial/ftdi_sio.c
parentbc506517ec5dcc638eaa55672d5a924c1e2a2d0b (diff)
[PATCH] USB: ftdi_sio: custom baud rate fix
ftdi_sio: I messed up the baud_base for custom baud rate support in 2.6.13. The attached one-liner patch fixes it. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
index 0a6e8b474b1f..4e434cb10bb1 100644
--- a/drivers/usb/serial/ftdi_sio.c
+++ b/drivers/usb/serial/ftdi_sio.c
@@ -914,7 +914,7 @@ static void ftdi_determine_type(struct usb_serial_port *port)
914 unsigned interfaces; 914 unsigned interfaces;
915 915
916 /* Assume it is not the original SIO device for now. */ 916 /* Assume it is not the original SIO device for now. */
917 priv->baud_base = 48000000 / 16; 917 priv->baud_base = 48000000 / 2;
918 priv->write_offset = 0; 918 priv->write_offset = 0;
919 919
920 version = le16_to_cpu(udev->descriptor.bcdDevice); 920 version = le16_to_cpu(udev->descriptor.bcdDevice);