diff options
| author | Rob Herring <[email protected]> | 2016-08-22 17:39:10 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-08-31 15:42:28 +0200 |
| commit | 761ed4a94582ab291aa24dcbea4e01e8936488c8 (patch) | |
| tree | c4274fdb9bb559d7da5fbdd38c57ff7fcfb2fc7f /tools/perf/scripts/python | |
| parent | b3b57646186400d4f54652ab7bbf55f5764d9467 (diff) | |
tty: serial_core: convert uart_close to use tty_port_close
tty_port_close handles much of the common parts of tty close. Convert
uart_close to use it and move the serial_core specific parts into
tty_port.shutdown function. This will be needed to use tty_port functions
directly from in kernel clients.
This change causes ops->stop_rx() to be called after uart_wait_until_sent()
is called which I think should be fine. Otherwise, the sequence of the
close should be the same.
Cc: Peter Hurley <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Acked-by: Alan Cox <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions