ASoC: Intel: sof_sdw_cs_amp: rename Speakers to Speaker

To be consistent to other amps that used in the machine driver.

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://lore.kernel.org/r/20240509163418.67746-14-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Bard Liao 2024-05-09 11:34:13 -05:00 committed by Mark Brown
parent 2bb765f053
commit 1628e1c8f6
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -15,7 +15,7 @@
#define CODEC_NAME_SIZE 8
static const struct snd_soc_dapm_widget sof_widgets[] = {
SND_SOC_DAPM_SPK("Speakers", NULL),
SND_SOC_DAPM_SPK("Speaker", NULL),
};
int cs_spk_rtd_init(struct snd_soc_pcm_runtime *rtd)
@ -24,7 +24,7 @@ int cs_spk_rtd_init(struct snd_soc_pcm_runtime *rtd)
struct snd_soc_card *card = rtd->card;
char codec_name[CODEC_NAME_SIZE];
char widget_name[16];
struct snd_soc_dapm_route route = { "Speakers", NULL, widget_name };
struct snd_soc_dapm_route route = { "Speaker", NULL, widget_name };
struct snd_soc_dai *codec_dai;
int i, ret;