Skip to content

Commit e041b85

Browse files
Vlad Karpovichbroonie
authored andcommitted
ASoC: cs35l45: Rename DACPCM1 Source control
Rename control to "DACPCM Source" for backward compatibility with previous implementation. Signed-off-by: Vlad Karpovich <vkarpovi@opensource.cirrus.com Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com Link: https://lore.kernel.org/r/20230828170525.335671-5-vkarpovi@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org
1 parent a47f7bf commit e041b85

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sound/soc/codecs/cs35l45.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ static const struct snd_kcontrol_new cs35l45_dsp_muxes[] = {
279279
};
280280

281281
static const struct snd_kcontrol_new cs35l45_dac_muxes[] = {
282-
SOC_DAPM_ENUM("DACPCM1 Source", cs35l45_dacpcm_enums[0]),
282+
SOC_DAPM_ENUM("DACPCM Source", cs35l45_dacpcm_enums[0]),
283283
};
284284

285285
static const struct snd_soc_dapm_widget cs35l45_dapm_widgets[] = {
@@ -333,7 +333,7 @@ static const struct snd_soc_dapm_widget cs35l45_dapm_widgets[] = {
333333
SND_SOC_DAPM_MUX("DSP_RX7 Source", SND_SOC_NOPM, 0, 0, &cs35l45_dsp_muxes[6]),
334334
SND_SOC_DAPM_MUX("DSP_RX8 Source", SND_SOC_NOPM, 0, 0, &cs35l45_dsp_muxes[7]),
335335

336-
SND_SOC_DAPM_MUX("DACPCM1 Source", SND_SOC_NOPM, 0, 0, &cs35l45_dac_muxes[0]),
336+
SND_SOC_DAPM_MUX("DACPCM Source", SND_SOC_NOPM, 0, 0, &cs35l45_dac_muxes[0]),
337337

338338
SND_SOC_DAPM_OUT_DRV("AMP", SND_SOC_NOPM, 0, 0, NULL, 0),
339339

@@ -403,7 +403,7 @@ static const struct snd_soc_dapm_route cs35l45_dapm_routes[] = {
403403
{ "ASP_RX1", NULL, "ASP_EN" },
404404
{ "ASP_RX2", NULL, "ASP_EN" },
405405

406-
{ "AMP", NULL, "DACPCM1 Source"},
406+
{ "AMP", NULL, "DACPCM Source"},
407407
{ "AMP", NULL, "GLOBAL_EN"},
408408

409409
CS35L45_DSP_MUX_ROUTE("DSP_RX1"),
@@ -427,7 +427,7 @@ static const struct snd_soc_dapm_route cs35l45_dapm_routes[] = {
427427
{"DSP1 Preload", NULL, "DSP1 Preloader"},
428428
{"DSP1", NULL, "DSP1 Preloader"},
429429

430-
CS35L45_DAC_MUX_ROUTE("DACPCM1"),
430+
CS35L45_DAC_MUX_ROUTE("DACPCM"),
431431

432432
{ "SPK", NULL, "AMP"},
433433
};

0 commit comments

Comments
 (0)