ASoC: rt715-sdca: rename dai name with rt715-sdca prefix
authorBard Liao <yung-chuan.liao@linux.intel.com>
Tue, 26 Mar 2024 16:04:23 +0000 (11:04 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 26 Mar 2024 16:13:45 +0000 (16:13 +0000)
The dai name are the same as rt715 codec. Rename them with rt715-sdca
prefix allow machine driver to distinguish rt715 and rt715-sdca from
dai name.

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-29-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt715-sdca.c

index 4533eedd7e189f3b48e36175eb5494f20a6f1be0..cee46db79d7334d30d91b8e4180b0c46cfb05abb 100644 (file)
@@ -933,7 +933,7 @@ static const struct snd_soc_dai_ops rt715_sdca_ops = {
 
 static struct snd_soc_dai_driver rt715_sdca_dai[] = {
        {
-               .name = "rt715-aif1",
+               .name = "rt715-sdca-aif1",
                .id = RT715_AIF1,
                .capture = {
                        .stream_name = "DP6 Capture",
@@ -945,7 +945,7 @@ static struct snd_soc_dai_driver rt715_sdca_dai[] = {
                .ops = &rt715_sdca_ops,
        },
        {
-               .name = "rt715-aif2",
+               .name = "rt715-sdca-aif2",
                .id = RT715_AIF2,
                .capture = {
                        .stream_name = "DP4 Capture",