diff options
author | Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 2024-10-16 06:29:08 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-10-17 14:11:18 +0300 |
commit | 6e38a7e098d32d128b00b42a536151de9ea1340b (patch) | |
tree | 2e864494bcd621efc11f2297c12c60a2691c81de /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 9822b4c90d77e3c6555fb21c459c4a61c6a8619f (diff) | |
download | linux-6e38a7e098d32d128b00b42a536151de9ea1340b.tar.xz |
ASoC: SOF: Intel: hda: Handle prepare without close for non-HDA DAI's
When a PCM is restarted after a snd_pcm_drain/snd_pcm_drop(), the prepare
callback will be invoked and the hw_params will be set again. For the
HDA DAI's, the hw_params function handles this case already but not for
the non-HDA DAI's. So, add the check for link_prepared to verify if the
hw_params should be done again or not. Additionally, for SDW DAI's reset
the PCMSyCM registers as would be done in the case of a start after a
hw_free.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
All: stable@vger.kernel.org # 6.10.x 6.11.x
Link: https://patch.msgid.link/20241016032910.14601-3-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions