diff options
author | 朱灿灿 <zhucancan@vivo.com> | 2020-12-25 16:42:46 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-01-07 16:14:13 +0000 |
commit | 2c1382840c194533399818d0ed39dfc94f906187 (patch) | |
tree | db86c43732d2236303c3e6f5ff1abdcd1d138fa6 /tools/perf/scripts/python/stackcollapse.py | |
parent | aac568269bd80a510758ec5d5744b1a2eea3f049 (diff) |
ASoC: soc-pcm: disconnect BEs if the FE is not ready
FE is connected to two BEs, BE1 is active, BE2 is deactive.
When closing BE1, FE/BE1 is in HW_FREE state, then BE2 is
startup by mixer runtime update.
For FE is in HW_FREE state, dpcm_run_update_startup() will skip
BE2's startup because FE's state is HW_FREE, BE2 stays in FE's
be_clients list.
During FE's closed, the dpcm_fe_dai_close() will close all related
BEs, BE2 will be closed. This will lead to BE2's dpcm[stream].users
mismatch.
We need disconnet all pending BEs in the corner case.
Signed-off-by: zhucancan <zhucancan@vivo.com>
Link: https://lore.kernel.org/r/AAoArwDfDnoefyxzy2wyiaqm.1.1608885766936.Hmail.zhucancan@vivo.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions