diff options
author | Jiri Slaby <jslaby@suse.cz> | 2021-11-18 08:31:07 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-25 18:33:21 +0100 |
commit | e25ed43b4b603c1f7727bfede684b165dc5cd18c (patch) | |
tree | 62cc845cd9bce8a6ebe80d383517ace291ffc97d /drivers/perf/arm_smmuv3_pmu.c | |
parent | 862f72187a41008df2cce3f8e97f57070cbc7060 (diff) | |
download | linux-stable-e25ed43b4b603c1f7727bfede684b165dc5cd18c.tar.gz linux-stable-e25ed43b4b603c1f7727bfede684b165dc5cd18c.tar.bz2 linux-stable-e25ed43b4b603c1f7727bfede684b165dc5cd18c.zip |
mxser: remove wait for sent from mxser_close_port
mxser_close() behaves like this:
-> tty_port_close_start()
-> tty_wait_until_sent()
-> mxser_wait_until_sent()
-> mxser_close_port
-> wait for TEMT
So it is already waited for TEMT through mxser_wait_until_sent() and
there is another round of waiting in mxser_close_port(). The latter one
is superfluous as nothing could be filled into the output FIFO. Remove
the call.
This helps unification among drivers (so that all behave the same) and
future use of tty_port_close().
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20211118073125.12283-2-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/perf/arm_smmuv3_pmu.c')
0 files changed, 0 insertions, 0 deletions