Hi Willy

2.6.27.60 introduced the fix:

author    Andrew Worsley <[email protected]>  
Fri, 18 Nov 2011 12:13:33 +0000 (23:13 +1100)
committer   Willy Tarreau <[email protected]>   
Sat, 11 Feb 2012 14:37:58 +0000 (15:37 +0100)
commit  68a59259b9e3c467a65caa7ef1d0dad465de1015
tree    78b050ca1c4a825cfa2ab3141bbdb6b4a4554242        tree | snapshot
parent  9f5e4da29bd67249fa708af443f9bbcb2328311b        commit | diff
USB: Fix Corruption issue in USB ftdi driver ftdi_sio.c

commit b1ffb4c851f185e9051ba837c16d9b84ef688d26 upstream.

Fix for ftdi_set_termios() glitching output

ftdi_set_termios() is constantly setting the baud rate, data bits and parity
unnecessarily on every call, . When called while characters are being
transmitted can cause the FTDI chip to corrupt the serial port bit stream
output by stalling the output half a bit during the output of a character.
Simple fix by skipping this setting if the baud rate/data bits/parity are
unchanged.

Signed-off-by: Andrew Worsley <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Willy Tarreau <[email protected]>

If you look in mainline, there is a follow up patch sometime later:

author Johan Hovold <[email protected]>    
Wed, 18 Jan 2012 00:46:00 +0000 (01:46 +0100)
committer   Greg Kroah-Hartman <[email protected]> 
Tue, 24 Jan 2012 19:20:11 +0000 (11:20 -0800)
commit  108e02b12921078a59dcacd048079ece48a4a983
tree    4fa48e2d3dc67133757f6272135dbdfe7f050b94        tree | snapshot
parent  eb833a9e0972f60beb4ab8104ad7ef6bf30f02fc        commit | diff
USB: ftdi_sio: fix initial baud rate

Fix regression introduced by commit b1ffb4c851f1 ("USB: Fix Corruption
issue in USB ftdi driver ftdi_sio.c") which caused the termios settings
to no longer be initialised at open. Consequently it was no longer
possible to set the port to the default speed of 9600 baud without first
changing to another baud rate and back again.

Reported-by: Roland Ramthun <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Tested-by: Roland Ramthun <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

Please could you think about pulling this patch into the next 2.6.27.X
stable release. I have the exact problems described.

Thanks
        Andrew
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to