aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBard Liao <yung-chuan.liao@linux.intel.com>2024-02-08 10:55:31 -0600
committerMark Brown <broonie@kernel.org>2024-02-08 21:23:09 +0000
commit4ca5ba58f15ae5a9ad1fa7a5f0d0e50b03b36614 (patch)
treef3e1c3f4b8a8a7525c766202aea0a64fa7f0c41f /tools/perf/scripts/python
parentASoC: Intel: sof_sdw: use single rtd_init for rt_amps (diff)
downloadlinux-4ca5ba58f15ae5a9ad1fa7a5f0d0e50b03b36614.tar.gz
linux-4ca5ba58f15ae5a9ad1fa7a5f0d0e50b03b36614.zip
ASoC: Intel: add get_codec_dai_by_name helper function
Currently, we assume the codecs in a dai link are all the same. So that we get codec dai with snd_soc_rtd_to_codec(rtd, 0) in dai_links ->init callback. However, a link can include different codecs. For example, a 4 speakers link can consist of rt712 and rt1316. Therefore, we need to select the codec dai by name in the dai link. Reviewed-by: Rander Wang <rander.wang@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/20240208165545.93811-11-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions