diff options
author | Bard Liao <yung-chuan.liao@linux.intel.com> | 2024-03-26 19:04:19 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-03-26 19:13:41 +0300 |
commit | bee2fe44679f1e6a5332d7f78587ccca4109919f (patch) | |
tree | 7954a89d0e04756153a0a48d2aa993ba63e7ca1d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 59bf457d80551003a06d32f5c3d1da7f64a3d420 (diff) | |
download | linux-bee2fe44679f1e6a5332d7f78587ccca4109919f.tar.xz |
ASoC: Intel: sof_sdw: use generic rtd_init function for Realtek SDW DMICs
The only thing that the rt_xxx_rtd_init() functions do is to set
card->components. And we can set card->components with name_prefix
as rt712_sdca_dmic_rtd_init() does.
And sof_sdw_rtd_init() will always select the first dai with the
given dai->name from codec_info_list[]. Unfortunately, we have
different codecs with the same dai name. For example, dai name of
rt715 and rt715-sdca are both "rt715-aif2". Using a generic rtd_init
allow sof_sdw_rtd_init() run the rtd_init() callback from a similar
codec dai.
Fixes: 8266c73126b7 ("ASoC: Intel: sof_sdw: add common sdw dai link init")
Reviewed-by: Chao Song <chao.song@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@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://msgid.link/r/20240326160429.13560-25-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions