aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic/docproc.c
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <[email protected]>2009-12-01 09:54:46 +0000
committerPaul Mundt <[email protected]>2009-12-04 13:42:23 +0900
commitb1516803d5274386256bef4972dfbf8c9eed5165 (patch)
tree1626874e3dbf9e4715097ca23f2a650c8a789254 /scripts/basic/docproc.c
parentfd2cb0ce74e07babaf8c7bf96ef03c25d194e463 (diff)
serial: sh-sci: Fix too early port disabling.
Currently serial ports on SH CPUs get disabled too early, because the sci_tx_empty() routine claims to not be able to detect whether the transmission has been completed and just always returns TIOCSER_TEMT. This results in corrupt output of last characters if the port is not open for reading at the same time. It is however possible to detect whether transmission has been completed. Use the TEND bit of the status register for this. Signed-off-by: Guennadi Liakhovetski <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions