diff options
author | Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 2024-04-02 18:18:28 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-04-02 19:14:58 +0300 |
commit | f0caa4fc244ca739ce6d12168aa588c412c81190 (patch) | |
tree | 1aede492d9d2c115435523a880095b81fe6d9a20 /tools/perf/scripts/python/syscall-counts.py | |
parent | ebd3b3014eebdd490f2c509d79e719fbcc680963 (diff) | |
download | linux-f0caa4fc244ca739ce6d12168aa588c412c81190.tar.xz |
ASoC: SOF: ipc4-topology: Save the ALH DAI index during hw_params
The node_id for multi-gateway ALH DAI's get overwritten with the
group_id during the DAI copier's ipc_prepare op. So, save the ALH
dai_index during the BE DAI hw_params in the dai_index field of struct
ipc4_copier and use that to set the device ID in the configuration blob.
This will avoid errors during copier init after an xrun.
Note that the dai_index is typically set in topology for DMIC/SSP, but
it's not used for ALH. Reclaiming this dai_index field to store the
node_id does not generate a conflict with topology-defined values.
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-18-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions