]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[PATCH] USB: ftdi_sio: custom baud rate fix
authorIan Abbott <abbotti@mev.co.uk>
Mon, 12 Sep 2005 11:23:25 +0000 (12:23 +0100)
committerChris Wright <chrisw@osdl.org>
Sat, 17 Sep 2005 01:01:59 +0000 (18:01 -0700)
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>
Signed-off-by: Chris Wright <chrisw@osdl.org>
drivers/usb/serial/ftdi_sio.c

index d1964a0c4168f0e2e12eddf3a3728227d7ddfd56..4bc1075994e3c72d2be6b76161f93445bcece278 100644 (file)
@@ -874,7 +874,7 @@ static void ftdi_determine_type(struct usb_serial_port *port)
        unsigned interfaces;
 
        /* Assume it is not the original SIO device for now. */
-       priv->baud_base = 48000000 / 16;
+       priv->baud_base = 48000000 / 2;
        priv->write_offset = 0;
 
        version = le16_to_cpu(udev->descriptor.bcdDevice);