summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/boards/sof_rt5682.c
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2019-10-28 17:46:24 +0100
committerMark Brown <broonie@kernel.org>2019-10-29 12:29:44 +0000
commitd745cc1ab65945b2d17ec9c5652f38299c054649 (patch)
tree374e9b5f09ffc0eb06ab4e850233ff3c4cf479b5 /sound/soc/intel/boards/sof_rt5682.c
parent6d407a39cc9619d0088b44333c6526924be00f8d (diff)
downloadlinux-d745cc1ab65945b2d17ec9c5652f38299c054649.tar.gz
linux-d745cc1ab65945b2d17ec9c5652f38299c054649.tar.bz2
linux-d745cc1ab65945b2d17ec9c5652f38299c054649.zip
ASoC: intel - fix the card names
Those strings are exposed to the user space as the card name thus used in the GUIs. The common standard is to avoid '_' here. The worst case is 'sof-skl_hda_card' string. Signed-off-by: Jaroslav Kysela <perex@perex.cz> Cc: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Cc: Mark Brown <broonie@kernel.org> Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20191028164624.14334-1-perex@perex.cz Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/boards/sof_rt5682.c')
-rw-r--r--sound/soc/intel/boards/sof_rt5682.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/boards/sof_rt5682.c b/sound/soc/intel/boards/sof_rt5682.c
index 5ce643d62faf..2caebc77fdb5 100644
--- a/sound/soc/intel/boards/sof_rt5682.c
+++ b/sound/soc/intel/boards/sof_rt5682.c
@@ -370,7 +370,7 @@ static int dmic_init(struct snd_soc_pcm_runtime *rtd)
/* sof audio machine driver for rt5682 codec */
static struct snd_soc_card sof_audio_card_rt5682 = {
- .name = "sof_rt5682",
+ .name = "rt5682", /* the sof- prefix is added by the core */
.owner = THIS_MODULE,
.controls = sof_controls,
.num_controls = ARRAY_SIZE(sof_controls),