diff options
author | 2019-08-01 10:56:40 -0400 | |
---|---|---|
committer | 2019-09-04 12:43:50 +0200 | |
commit | 47b1747f705e90d8197b77207e19c0ec67c16958 (patch) | |
tree | 7fd337e9500be261097c95317af73f898432e552 /scripts/check_extable.sh | |
parent | serial: 8250_exar: Move custom divisor support out from 8250_port (diff) | |
download | linux-47b1747f705e90d8197b77207e19c0ec67c16958.tar.gz linux-47b1747f705e90d8197b77207e19c0ec67c16958.tar.bz2 linux-47b1747f705e90d8197b77207e19c0ec67c16958.zip |
serial: 8250_exar: Clear buffer before shutdown
When closing and shutting down the exar serial port, if the chip
has not finished sending all of the data in its buffer, the
remaining bytes will be lost. Hold off on the shutdown until the
bytes have all been sent.
Signed-off-by: Robert Middleton <robert.middleton@rm5248.com>
Link: https://lore.kernel.org/r/20190801145640.26080-1-robert.middleton@rm5248.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/check_extable.sh')
0 files changed, 0 insertions, 0 deletions