mirror-linux/sound/soc/intel
Bard Liao dc5a3e60a4
ASoC: Intel: sof_sdw: append codec type to dai link name
The existing sdw_sof machine driver constructs two SoundWire interfaces
by direction and sdw link id. It means that we will have exactly the
same dai link name if two dai links are on the same sdw link with the
same direction.
The new Realtek codec has two SoundWire interfaces for jack and DMIC
functions and they are treated as different codecs. To create two dai
links for jack and DMIC, we need to have different dai link names.
This patch suggests to append codec type if there are two or more
different types of devices on the same sdw bus.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Link: https://lore.kernel.org/r/20230419195524.46995-8-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-04-20 12:51:53 +01:00
..
atom ASoC: Intel: sst: Convert to platform remove callback returning void 2023-03-20 13:08:23 +00:00
avs ASoC: soc-core.c: add snd_soc_add_pcm_runtimes() 2023-03-28 01:26:03 +01:00
boards ASoC: Intel: sof_sdw: append codec type to dai link name 2023-04-20 12:51:53 +01:00
catpt ASoC: Intel: catpt: Convert to platform remove callback returning void 2023-03-20 13:08:33 +00:00
common ASoC: Intel: soc-acpi: Add entry for rt711-sdca-sdw at link 2 in RPL match table 2023-04-20 12:51:49 +01:00
keembay ASoC: Intel: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:27 +01:00
skylake ASoC: Intel: skl-ssp-clk: Convert to platform remove callback returning void 2023-03-20 13:08:34 +00:00
Kconfig ASoC: Intel: avs: Probe compress operations 2022-12-05 14:05:27 +00:00
Makefile ASoC: Intel: Introduce AVS driver 2022-03-11 16:23:54 +00:00