diff options
author | Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 2024-04-02 18:18:23 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-04-02 19:14:53 +0300 |
commit | bfe9225455c032c9dd5637047760cf59562e599f (patch) | |
tree | e5bc97ccff91d3c5a029d00f7c5467288b17d1a2 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 2ac9e09ba0e874deeba13c3259dc18f22b622311 (diff) | |
download | linux-bfe9225455c032c9dd5637047760cf59562e599f.tar.xz |
ASoC: SOF: Intel: hda: Clear Soundwire node ID during BE DAI hw_free
When an xrun happens, the BE DAI hw_params doesn't get invoked before
the stream restarts with a prepare. In this case, clearing the node ID
when the DAI widget is freed and unprepared will result in an error when
it is re-initialized. In order to avoid this, move the code to clear the
node ID to the BE DAI hw_free op to keep it balanced with the BE DAI
hw_params.
Reviewed-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@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-13-pierre-louis.bossart@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