diff options
author | Cezary Rojewski <[email protected]> | 2022-11-16 12:55:50 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-11-22 19:32:27 +0000 |
commit | f3fbb553f98563f692e356aca87d656baba910a0 (patch) | |
tree | 51efbeb76e23cf5a22f9fcb36050065338f35379 /tools/perf/scripts/python/sched-migration.py | |
parent | c30c8f9d51ec24b36e2c65a6307a5c8cbc5a0ebc (diff) |
ASoC: Intel: avs: Disconnect substream if suspend or resume fails
To improve performance and overall system stability, suspend/resume
operations for ASoC cards always return success status and defer the
actual work.
Because of that, if a substream fails to resume, userspace may still
attempt to invoke commands on it as from their perspective the operation
completed successfully. Set substream's state to DISCONNECTED to ensure
no further commands are attempted.
Signed-off-by: Cezary Rojewski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions