diff options
author | Jiri Slaby <jslaby@suse.cz> | 2021-06-18 09:15:05 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-18 14:10:02 +0300 |
commit | 740165f7acbf1e73e6a7bfa2e8642b2e86cdee94 (patch) | |
tree | 57a72729a4d13ee4656ba0695ba8b51be1ffdde6 /crypto/cbc.c | |
parent | be4866671f8302f04e0485573e97d3a5dfe93fca (diff) | |
download | linux-740165f7acbf1e73e6a7bfa2e8642b2e86cdee94.tar.xz |
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 'crypto/cbc.c')
0 files changed, 0 insertions, 0 deletions