diff options
author | Konstantin Shkolnyy <[email protected]> | 2015-11-24 16:28:41 -0600 |
---|---|---|
committer | Johan Hovold <[email protected]> | 2015-11-26 09:10:51 +0100 |
commit | 6f923a0134d9868a71db19cca1fae551a27b46f5 (patch) | |
tree | 75bfe155d9768c85af3662a27b8d40bacbdcdd01 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | d0bf1ff0ae322aca59b00b9a2ad121d35a77e78f (diff) |
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 <[email protected]>
[johan: modify tx_empty error handling ]
Signed-off-by: Johan Hovold <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions