Commit 59a79e93 authored by Ian Abbott's avatar Ian Abbott Committed by Chris Wright

[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: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: default avatarChris Wright <chrisw@osdl.org>
parent d6d47af4
...@@ -874,7 +874,7 @@ static void ftdi_determine_type(struct usb_serial_port *port) ...@@ -874,7 +874,7 @@ static void ftdi_determine_type(struct usb_serial_port *port)
unsigned interfaces; unsigned interfaces;
/* Assume it is not the original SIO device for now. */ /* Assume it is not the original SIO device for now. */
priv->baud_base = 48000000 / 16; priv->baud_base = 48000000 / 2;
priv->write_offset = 0; priv->write_offset = 0;
version = le16_to_cpu(udev->descriptor.bcdDevice); version = le16_to_cpu(udev->descriptor.bcdDevice);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment