diff options
author | Andrew Worsley <amworsley@gmail.com> | 2011-11-18 23:13:33 +1100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-26 09:10:03 -0800 |
commit | b987edee414235e29984d424043761b735bb4a5e (patch) | |
tree | 750c08e601209d562efbf530595fdd31103bf33a /tools/perf/scripts/python/syscall-counts.py | |
parent | 1c9e0eba2b5954bfb213ce2facfd439eeb3cda3b (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 <amworsley@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions