diff options
author | Bard Liao <yung-chuan.liao@linux.intel.com> | 2023-04-19 22:55:24 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-04-20 14:51:53 +0300 |
commit | dc5a3e60a4b5974a0cb5bf2c5df70a490dce9df2 (patch) | |
tree | 6aa0ca34332903eff3c69e3dc00d18155fe607d3 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | c8db7b50128b8cc61a5ca6e4717cf8158fca302a (diff) | |
download | linux-dc5a3e60a4b5974a0cb5bf2c5df70a490dce9df2.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions