diff options
author | Takashi Iwai <tiwai@suse.de> | 2022-12-05 14:21:22 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-12-05 14:22:47 +0100 |
commit | 5c8cc93b06d1ff860327a273abf3ac006290d242 (patch) | |
tree | 35da30e5dde3afc3978fffe5bdf5a15d5aa34a75 /README | |
parent | 7d721baea138696d5a6746fb5bce0a510a91bd65 (diff) | |
download | linux-stable-5c8cc93b06d1ff860327a273abf3ac006290d242.tar.gz linux-stable-5c8cc93b06d1ff860327a273abf3ac006290d242.tar.bz2 linux-stable-5c8cc93b06d1ff860327a273abf3ac006290d242.zip |
ALSA: pcm: Set missing stop_operating flag at undoing trigger start
When a PCM trigger-start fails at snd_pcm_do_start(), PCM core tries
to undo the action at snd_pcm_undo_start() by issuing the trigger STOP
manually. At that point, we forgot to set the stop_operating flag,
hence the sync-stop won't be issued at the next prepare or other
calls.
This patch adds the missing stop_operating flag at
snd_pcm_undo_start().
Fixes: 1e850beea278 ("ALSA: pcm: Add the support for sync-stop operation")
Link: https://lore.kernel.org/r/b4e71631-4a94-613-27b2-fb595792630@carlh.net
Link: https://lore.kernel.org/r/20221205132124.11585-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions