Skip to content

Commit 02a914e

Browse files
rfvirgilbroonie
authored andcommitted
ASoC: Intel: soc-acpi-intel-mtl-match: Change CS35L56 prefixes to AMPn
Change the ALSA prefix for the CS35L56 to "AMPn". This keeps them consistent with the CS35L56 HDA driver. It also avoids coding the chip ID into the control name, so that other Cirrus amps with the same controls can have the same control names. Signed-off-by: Richard Fitzgerald <[email protected]> Fixes: 05fe628 ("ASoC: Intel: soc-acpi-intel-mtl-match: add acpi match table for cdb35l56-eight-c") Link: https://msgid.link/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent a0ffa81 commit 02a914e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sound/soc/intel/common/soc-acpi-intel-mtl-match.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -306,13 +306,13 @@ static const struct snd_soc_acpi_adr_device cs35l56_1_adr[] = {
306306
.adr = 0x00013701FA355601ull,
307307
.num_endpoints = 1,
308308
.endpoints = &spk_r_endpoint,
309-
.name_prefix = "cs35l56-8"
309+
.name_prefix = "AMP8"
310310
},
311311
{
312312
.adr = 0x00013601FA355601ull,
313313
.num_endpoints = 1,
314314
.endpoints = &spk_3_endpoint,
315-
.name_prefix = "cs35l56-7"
315+
.name_prefix = "AMP7"
316316
}
317317
};
318318

@@ -321,13 +321,13 @@ static const struct snd_soc_acpi_adr_device cs35l56_2_adr[] = {
321321
.adr = 0x00023301FA355601ull,
322322
.num_endpoints = 1,
323323
.endpoints = &spk_l_endpoint,
324-
.name_prefix = "cs35l56-1"
324+
.name_prefix = "AMP1"
325325
},
326326
{
327327
.adr = 0x00023201FA355601ull,
328328
.num_endpoints = 1,
329329
.endpoints = &spk_2_endpoint,
330-
.name_prefix = "cs35l56-2"
330+
.name_prefix = "AMP2"
331331
}
332332
};
333333

0 commit comments

Comments
 (0)