diff options
| author | Jiri Slaby <jslaby@suse.cz> | 2021-11-18 08:31:18 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-25 18:33:22 +0100 |
| commit | fe74bc619b0db23c4b513141acd3e3e45694bb08 (patch) | |
| tree | 6e390f6bfab97c02758f1708236b23c5278b9a33 /tools/perf/scripts/python | |
| parent | mxser: extract TX empty check from mxser_wait_until_sent() (diff) | |
| download | linux-fe74bc619b0db23c4b513141acd3e3e45694bb08.tar.gz linux-fe74bc619b0db23c4b513141acd3e3e45694bb08.zip | |
mxser: use msleep_interruptible() in mxser_wait_until_sent()
Instead of schedule_timeout_interruptible(), because:
1) we don't have to bother with the task state, and
2) msleep* guarantees to sleep that time (if not interrupted).
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20211118073125.12283-13-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
