projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc50651
)
[PATCH] USB: ftdi_sio: custom baud rate fix
author
Ian Abbott
<abbotti@mev.co.uk>
Mon, 12 Sep 2005 11:23:25 +0000
(12:23 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 12 Sep 2005 19:23:54 +0000
(12:23 -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>
drivers/usb/serial/ftdi_sio.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/serial/ftdi_sio.c
b/drivers/usb/serial/ftdi_sio.c
index 0a6e8b474b1ff46db9efd8b423dd9ad36b215c18..4e434cb10bb12de49efedf44838aaad248bad2b8 100644
(file)
--- 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)
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);