summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/io_edgeport.c
diff options
context:
space:
mode:
authorKonstantin Shkolnyy <konstantin.shkolnyy@gmail.com>2015-11-24 16:28:41 -0600
committerJohan Hovold <johan@kernel.org>2015-11-26 09:10:51 +0100
commit6f923a0134d9868a71db19cca1fae551a27b46f5 (patch)
tree75bfe155d9768c85af3662a27b8d40bacbdcdd01 /drivers/usb/serial/io_edgeport.c
parentd0bf1ff0ae322aca59b00b9a2ad121d35a77e78f (diff)
downloadtalos-op-linux-6f923a0134d9868a71db19cca1fae551a27b46f5.tar.gz
talos-op-linux-6f923a0134d9868a71db19cca1fae551a27b46f5.zip
USB: cp210x: add tx_empty()
Added tx_empty callback needed for generic wait-until-sent support. Without this function, when the port is closed usbserial can't know that there are still data in the chip's transmit FIFO. The chip gets disabled and untransmitted data lost. When the actual byte count is reported by tx-empty the close can be delayed until all data are sent. Signed-off-by: Konstantin Shkolnyy <konstantin.shkolnyy@gmail.com> [johan: modify tx_empty error handling ] Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial/io_edgeport.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud