diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2024-04-02 17:18:27 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-04-02 18:14:57 +0200 |
commit | ebd3b3014eebdd490f2c509d79e719fbcc680963 (patch) | |
tree | 815cafe5dcfd618bee28a16f3c6e40550cf190b9 /net/atm | |
parent | ASoC: SOF: pcm: add pending_stop state variable (diff) | |
download | linux-ebd3b3014eebdd490f2c509d79e719fbcc680963.tar.xz linux-ebd3b3014eebdd490f2c509d79e719fbcc680963.zip |
ASoC: SOF: pcm: reset all PCM sources in case of xruns
With the delayed stops, the xrun handling is problematic: the
applications expects everything to be reset but the firmware and DMA
are still in a PAUSED state.
This patch makes sure the prepare while pending_stop is set is
special-cased.
Reviewed-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Co-developed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://msgid.link/r/20240402151828.175002-17-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/atm')
0 files changed, 0 insertions, 0 deletions