diff options
| author | Alex Elder <elder@linaro.org> | 2020-11-20 01:49:28 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-21 05:45:52 +0300 |
| commit | 7c80e83829dbc86c1e564017867a48805e459de0 (patch) | |
| tree | 0dcdabd7153913579ab566e0cd43d8f781fcc91f /tools/perf/scripts/python/syscall-counts.py | |
| parent | 1136145660f3116cb92794c1a7571bf49e4a1938 (diff) | |
| download | linux-7c80e83829dbc86c1e564017867a48805e459de0.tar.xz | |
net: ipa: retry modem stop if busy
The IPA driver remove callback, ipa_remove(), calls ipa_modem_stop()
if the setup stage of initialization is complete. If a concurrent
call to ipa_modem_start() or ipa_modem_stop() has begin but not
completed, ipa_modem_stop() can return an error (-EBUSY).
The next patch adds a driver shutdown callback, which will simply
call ipa_remove(). We really want our shutdown callback to clean
things up. So add a single retry to the ipa_modem_stop() call in
ipa_remove() after a short (millisecond) delay. This offers no
guarantee the shutdown will complete successfully, but we'll at
least try a little harder before giving up.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
