diff options
author | Peter Hurley <[email protected]> | 2014-07-06 11:29:52 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2014-07-10 16:31:34 -0700 |
commit | c557d392fbf5badd693ea1946a4317c87a26a716 (patch) | |
tree | 10b1369df578934fa8d43fbef7c69fb523ac5ab9 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | cd3de83f147601356395b57a8673e9c5ff1e59d1 (diff) |
serial: Test for no tx data on tx restart
Commit 717f3bbab3c7628736ef738fdbf3d9a28578c26c,
'serial_core: Fix conditional start_tx on ring buffer not empty'
exposes an incorrect assumption in several drivers' start_tx methods;
the tx ring buffer can, in fact, be empty when restarting tx while
performing flow control.
Affected drivers:
sunsab.c
ip22zilog.c
pmac_zilog.c
sunzilog.c
m32r_sio.c
imx.c
Other in-tree serial drivers either are not affected or already
test for empty tx ring buffer before transmitting.
Test for empty tx ring buffer in start_tx() method, after transmitting
x_char (if applicable).
Reported-by: Aaro Koskinen <[email protected]>
Cc: Seth Bollinger <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Cc: Thomas Bogendoerfer <[email protected]>
Signed-off-by: Peter Hurley <[email protected]>
Cc: stable <[email protected]> # 3.15
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions