Skip to content

Commit

Permalink
[PATCH] USB: ftdi_sio: custom baud rate fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ian Abbott authored and Greg Kroah-Hartman committed Sep 12, 2005
1 parent bc50651 commit f5e09b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/serial/ftdi_sio.c
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,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);
Expand Down

0 comments on commit f5e09b7

Please sign in to comment.