summaryrefslogtreecommitdiff
path: root/rust
diff options
context:
space:
mode:
authorBard Liao <yung-chuan.liao@linux.intel.com>2023-06-02 15:22:00 -0500
committerMark Brown <broonie@kernel.org>2023-06-05 14:00:10 +0100
commitb274586533f516b35519f409a4d089341a9c2690 (patch)
treef1ff9480dbf49de5feae4c8a1f629c61a714811c /rust
parent07140abbbf9e3dc412a34ed4a60c4b0d58fbe192 (diff)
ASoC: Intel: sof_sdw: use predefine dailink id
Currently, we assign dailink ids in order, and shift with codec type. The purpose is to have consistent dailink ids for topologies. This can be simplified if we have a predefined dailink id in sof_sdw_dai_info. We reuse the existing ids as the predefine ids. So the dailink ids will not be changed by this commit. With this change, we no longer need to check the adr order described in a snd_soc_acpi_link_adr array. Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20230602202225.249209-4-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust')
0 files changed, 0 insertions, 0 deletions