aboutsummaryrefslogtreecommitdiffstats
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-05-11 16:37:02 -0500
committerMark Brown <broonie@kernel.org>2021-05-12 13:02:49 +0100
commit24e46fb811e991f56d5694b10ae7ceb8d2b8c846 (patch)
tree0ce2c2c1721896162bdee7f8866717d2f8c4e364 /sound/soc/intel/common/soc-acpi-intel-glk-match.c
parentASoC: Intel: sof_cs42l42: shrink platform id below 20 characters (diff)
downloadlinux-dev-24e46fb811e991f56d5694b10ae7ceb8d2b8c846.tar.xz
linux-dev-24e46fb811e991f56d5694b10ae7ceb8d2b8c846.zip
ASoC: Intel: bxt_da7219_max98357a: shrink platform_id below 20 characters
Sparse throwns the following warnings: sound/soc/intel/boards/bxt_da7219_max98357a.c:843:19: error: too long initializer-string for array of char(no space for nul char) sound/soc/intel/boards/bxt_da7219_max98357a.c:844:19: error: too long initializer-string for array of char(no space for nul char) sound/soc/intel/boards/bxt_da7219_max98357a.c:845:19: error: too long initializer-string for array of char(no space for nul char) Fix by using the 'mx' acronyn 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/20210511213707.32958-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 aaa9133ab0cf..8c6264622da9 100644
--- a/sound/soc/intel/common/soc-acpi-intel-glk-match.c
+++ b/sound/soc/intel/common/soc-acpi-intel-glk-match.c
@@ -24,7 +24,7 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_glk_machines[] = {
},
{
.id = "DLGS7219",
- .drv_name = "glk_da7219_max98357a",
+ .drv_name = "glk_da7219_mx98357a",
.fw_filename = "intel/dsp_fw_glk.bin",
.machine_quirk = snd_soc_acpi_codec_list,
.quirk_data = &glk_codecs,