mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
ASoC: soc-link: Correct stream stop operations in snd_soc_link_trigger
When snd_soc_link_trigger() is called to stop, pause push or suspend
stream it should call soc_link_mark_pop() on proper target to reverse
operation from trigger start, pause release or resume.
Fixes: 6374f493d9 ("ASoC: soc-pcm: care trigger rollback")
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
Link: https://patch.msgid.link/20261014200608.118770-2-amade@asmblr.net
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
ac32e27bac
commit
7ef99fcfbb
|
|
@ -161,7 +161,7 @@ int snd_soc_link_trigger(struct snd_pcm_substream *substream, int cmd,
|
|||
break;
|
||||
|
||||
ret = soc_link_trigger(substream, cmd);
|
||||
soc_link_mark_pop(rtd, startup);
|
||||
soc_link_mark_pop(rtd, trigger);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user