summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2016-08-22 17:39:09 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-31 15:42:28 +0200
commitb3b57646186400d4f54652ab7bbf55f5764d9467 (patch)
tree08be5a5db4059fe81e02743b7c2810e6dcaa7283 /tools/perf/scripts/python/bin/stackcollapse-record
parentebaa81c7287edd40dd4899e5d93a20e7a2b938e7 (diff)
downloadlinux-b3b57646186400d4f54652ab7bbf55f5764d9467.tar.gz
linux-b3b57646186400d4f54652ab7bbf55f5764d9467.zip
tty: serial_core: convert uart_open to use tty_port_open
tty_port_open handles much of the common parts of tty opening. Convert uart_open to use it and move the serial_core specific parts into tty_port.activate function. This will be needed to use tty_port functions directly from in kernel clients. The tricky part is uart_port_startup can return positive values to allow setserial to configure the port. We now return the positive value to tty_port_open so that the tty is not marked as initialized and then set the return value in uart_open to 0. 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/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions