diff options
| author | Rob Herring <robh@kernel.org> | 2016-08-22 17:39:10 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-31 15:42:28 +0200 |
| commit | 761ed4a94582ab291aa24dcbea4e01e8936488c8 (patch) | |
| tree | c4274fdb9bb559d7da5fbdd38c57ff7fcfb2fc7f /tools/perf/scripts/python/bin | |
| parent | b3b57646186400d4f54652ab7bbf55f5764d9467 (diff) | |
| download | linux-761ed4a94582ab291aa24dcbea4e01e8936488c8.tar.gz linux-761ed4a94582ab291aa24dcbea4e01e8936488c8.zip | |
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 <peter@hurleysoftware.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
