summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/common/soc-acpi-intel-glk-match.c
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2021-06-21 14:40:51 -0500
committerMark Brown <broonie@kernel.org>2021-06-22 12:47:04 +0100
commitbc47256afef38175a0ad6bcfd4dbab9d2c65b377 (patch)
tree64cfe636a3d6811b22e1a69fcd73c02b4b654b0a /sound/soc/intel/common/soc-acpi-intel-glk-match.c
parent590cfb082837cc6c0c595adf1711330197c86a58 (diff)
downloadlinux-stable-bc47256afef38175a0ad6bcfd4dbab9d2c65b377.tar.gz
linux-stable-bc47256afef38175a0ad6bcfd4dbab9d2c65b377.tar.bz2
linux-stable-bc47256afef38175a0ad6bcfd4dbab9d2c65b377.zip
ASoC: Intel: glk_rt5682_max98357a: shrink platform_id below 20 characters
Sparse throws the following warning: sound/soc/intel/boards/glk_rt5682_max98357a.c:622:25: error: too long initializer-string for array of char(no space for nul char) Fix by using the 'mx' acronym for Maxim Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Paul Olaru <paul.olaru@oss.nxp.com> Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Reviewed-by: Rander Wang <rander.wang@intel.com> Link: https://lore.kernel.org/r/20210621194057.21711-5-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/common/soc-acpi-intel-glk-match.c')
-rw-r--r--sound/soc/intel/common/soc-acpi-intel-glk-match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/common/soc-acpi-intel-glk-match.c b/sound/soc/intel/common/soc-acpi-intel-glk-match.c
index 8c6264622da9..da1e151190b4 100644
--- a/sound/soc/intel/common/soc-acpi-intel-glk-match.c
+++ b/sound/soc/intel/common/soc-acpi-intel-glk-match.c
@@ -33,7 +33,7 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_glk_machines[] = {
},
{
.id = "10EC5682",
- .drv_name = "glk_rt5682_max98357a",
+ .drv_name = "glk_rt5682_mx98357a",
.fw_filename = "intel/dsp_fw_glk.bin",
.machine_quirk = snd_soc_acpi_codec_list,
.quirk_data = &glk_codecs,