diff options
| author | Jiri Slaby <[email protected]> | 2021-11-18 08:31:14 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-11-25 18:33:21 +0100 |
| commit | 47b722d473824e9c56b7487d47ea7423483258d9 (patch) | |
| tree | eb11e933231dc7130697ef924b8591afa3d2e0d3 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 2fb19b957805e8d6b981cf339caecd7cb6a3893a (diff) | |
mxser: call stop_rx from mxser_shutdown_port()
mxser_stop_rx() should be called from mxser_shutdown_port() for several
reasons:
1) info->slock is held while manipulating IER (as on other places),
2) hangup now stops rx too,
3) mxser_close() will use tty_port_close() and there is no place except
tty_port_operations::shutdown() where this can be done,
4) this is the same sequence as serial_core does. So we can map this
code 1:1 when switching the driver to it.
Signed-off-by: Jiri Slaby <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions