ASoC: Intel: change cs35l56 name_prefix
authorBard Liao <yung-chuan.liao@linux.intel.com>
Tue, 26 Mar 2024 16:04:25 +0000 (11:04 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 26 Mar 2024 16:13:47 +0000 (16:13 +0000)
To use sequential amp numbers. I,e, AMP1, AMP2, AMP3, AMP4

Reviewed-by: Chao Song <chao.song@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-31-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/common/soc-acpi-intel-mtl-match.c
sound/soc/intel/common/soc-acpi-intel-tgl-match.c

index e06efc5b1457a182d738bbf064578a7400bf76db..7e53266d831d8ac205b0f54baab71ade0d3e1cd2 100644 (file)
@@ -373,13 +373,13 @@ static const struct snd_soc_acpi_adr_device cs35l56_1_adr[] = {
                .adr = 0x00013701FA355601ull,
                .num_endpoints = 1,
                .endpoints = &spk_r_endpoint,
-               .name_prefix = "AMP8"
+               .name_prefix = "AMP3"
        },
        {
                .adr = 0x00013601FA355601ull,
                .num_endpoints = 1,
                .endpoints = &spk_3_endpoint,
-               .name_prefix = "AMP7"
+               .name_prefix = "AMP4"
        }
 };
 
index 007f1ac2327aed3e54b3da57344e7c62f085c454..0cef3d788a5b0186d119495bed7ec55b6d0e7ce7 100644 (file)
@@ -464,13 +464,13 @@ static const struct snd_soc_acpi_adr_device cs35l56_1_adr[] = {
                .adr = 0x00013701FA355601ull,
                .num_endpoints = 1,
                .endpoints = &spk_l_endpoint,
-               .name_prefix = "AMP8"
+               .name_prefix = "AMP3"
        },
        {
                .adr = 0x00013601FA355601ull,
                .num_endpoints = 1,
                .endpoints = &spk_2_endpoint,
-               .name_prefix = "AMP7"
+               .name_prefix = "AMP4"
        }
 };