diff options
author | 2021-02-06 21:36:55 +0100 | |
---|---|---|
committer | 2021-02-08 16:00:49 +0100 | |
commit | 700cb70730777c159a988e01daa93f20a1ae9b58 (patch) | |
tree | d4d0657bc5af6ebb014030a45351196ccf1c3f3d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ALSA: pcm: Assure sync with the pending stop operation at suspend (diff) | |
download | wireguard-linux-700cb70730777c159a988e01daa93f20a1ae9b58.tar.xz wireguard-linux-700cb70730777c159a988e01daa93f20a1ae9b58.zip |
ALSA: pcm: Don't call sync_stop if it hasn't been stopped
The PCM stop operation sets the stop_operating flag for indicating the
sync_stop post-process. This flag is, however, set unconditionally
even if the PCM trigger weren't issued. This may lead to
inconsistency in the driver side.
Correct the code to set stop_operating flag only after the trigger
STOP is actually called.
Fixes: 1e850beea278 ("ALSA: pcm: Add the support for sync-stop operation")
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210206203656.15959-4-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions