diff options
author | 2021-06-18 08:15:05 +0200 | |
---|---|---|
committer | 2021-06-18 13:10:02 +0200 | |
commit | 740165f7acbf1e73e6a7bfa2e8642b2e86cdee94 (patch) | |
tree | 57a72729a4d13ee4656ba0695ba8b51be1ffdde6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mxser: extract and dedup CTS handling (diff) | |
download | linux-dev-740165f7acbf1e73e6a7bfa2e8642b2e86cdee94.tar.xz linux-dev-740165f7acbf1e73e6a7bfa2e8642b2e86cdee94.zip |
mxser: introduce and use start/stop_tx helpers
Starting and stopping TX is performed on many places in the driver. It
is repeated outb and info->IER modification. Create few helpers
(__mxser_start_tx, mxser_start_tx, __mxser_stop_tx) and use them in the
code instead of open coding.
This should be a base for an uart driver for this device in the future.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210618061516.662-60-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions