mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
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:
parent
2bb765f053
commit
1628e1c8f6
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user