diff options
author | Johan Hovold <johan@kernel.org> | 2020-01-14 12:01:45 +0100 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2020-01-17 11:27:54 +0100 |
commit | a00e7182308f41cac1aa071912ff7a16797dade9 (patch) | |
tree | bfc46973799e3c7f41fee60f414f93c5a9180774 /drivers/char | |
parent | b3a987b0264d3ddbb24293ebff10eddfc472f653 (diff) |
USB: serial: opticon: add chars_in_buffer() implementation
Add a chars_in_buffer() implementation so that the tty layer will wait
for outgoing buffered data to be drained when needed (e.g. on final
close()).
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions