acrn-kernel/sound/soc/intel/boards
Arnd Bergmann 3e78986a84
ASoC: Intel: sof-nau8825: fix module alias overflow
The maximum name length for a platform_device_id entry is 20 characters
including the trailing NUL byte. The sof_nau8825.c file exceeds that,
which causes an obscure error message:

sound/soc/intel/boards/snd-soc-sof_nau8825.mod.c:35:45: error: illegal character encoding in string literal [-Werror,-Winvalid-source-encoding]
MODULE_ALIAS("platform:adl_max98373_nau8825<U+0018><AA>");
                                                   ^~~~
include/linux/module.h:168:49: note: expanded from macro 'MODULE_ALIAS'
                                                ^~~~~~
include/linux/module.h:165:56: note: expanded from macro 'MODULE_INFO'
                                                       ^~~~
include/linux/moduleparam.h:26:47: note: expanded from macro '__MODULE_INFO'
                = __MODULE_INFO_PREFIX __stringify(tag) "=" info

I could not figure out how to make the module handling robust enough
to handle this better, but as a quick fix, using slightly shorter
names that are still unique avoids the build issue.

Fixes: 8d0872f623 ("ASoC: Intel: add sof-nau8825 machine driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20221221132515.2363276-1-arnd@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-12-26 23:23:18 +00:00
..
Kconfig ASoC: Intel: fix sof-nau8825 link failure 2022-12-26 23:23:17 +00:00
Makefile ASoC: Intel: sof_sdw: use common helpers for all Realtek amps 2022-12-07 14:19:08 +00:00
bdw-rt5650.c ASoC: Intel: boards: Fix typo in comments 2022-10-26 14:18:27 +01:00
bdw-rt5677.c ASoC: Intel: boards: Fix typo in comments 2022-10-26 14:18:27 +01:00
bdw_rt286.c ASoC: Intel: bdw_rt286: Refactor jack handling 2022-11-29 12:13:13 +00:00
bxt_da7219_max98357a.c ASoC: Intel: Drop da7219_aad_jack_det() usage 2022-11-07 13:58:14 +00:00
bxt_rt298.c ASoC: Intel: boards: Fix typo in comments 2022-10-26 14:18:27 +01:00
bytcht_cx2072x.c ASoC: Intel: boards: Fix typo in comments 2022-10-26 14:18:27 +01:00
bytcht_da7213.c ASoC: Intel: Update to use set_fmt_new callback 2022-06-06 12:33:36 +01:00
bytcht_es8316.c ASoC: Merge up fixes 2022-11-29 12:55:51 +00:00
bytcht_nocodec.c ASoC: Intel: Update to use set_fmt_new callback 2022-06-06 12:33:36 +01:00
bytcr_rt5640.c ASoC: Intel: Add HP Stream 8 to bytcr_rt5640.c 2022-12-14 18:48:52 +00:00
bytcr_rt5651.c ASoC: Intel: boards: Fix typo in comments 2022-10-26 14:18:27 +01:00
bytcr_wm5102.c ASoC: Intel: boards: Fix typo in comments 2022-10-26 14:18:27 +01:00
cht_bsw_max98090_ti.c ASoC: Intel: boards: Fix typo in comments 2022-10-26 14:18:27 +01:00
cht_bsw_nau8824.c ASoC: Intel: boards: Fix typo in comments 2022-10-26 14:18:27 +01:00
cht_bsw_rt5645.c ASoC: Intel: boards: Fix typo in comments 2022-10-26 14:18:27 +01:00
cht_bsw_rt5672.c ASoC: Intel: boards: Fix typo in comments 2022-10-26 14:18:27 +01:00
cml_rt1011_rt5682.c ASoC: Intel: cml_rt1011_rt5682: remap jack pins 2022-06-17 10:46:30 +01:00
ehl_rt5660.c ASoC: Intel: use MODULE_DEVICE_TABLE with platform_device_id tables 2021-06-22 12:47:09 +01:00
glk_rt5682_max98357a.c ASoC: Intel: glk_rt5682_max98357a: remap jack pins 2022-06-17 10:46:29 +01:00
hda_dsp_common.c ASoC: Intel: Drop hdac_ext usage for codec device creation 2022-08-18 09:46:43 +02:00
hda_dsp_common.h ASoC: Intel: hda_dsp_common: use static function in conditional block 2020-09-23 18:47:59 +01:00
hsw_rt5640.c ASoC: Intel: hsw_rt5640: Mark BE DAI as nonatomic 2022-07-15 14:24:33 +01:00
kbl_da7219_max98357a.c ASoC: Intel: Drop da7219_aad_jack_det() usage 2022-11-07 13:58:14 +00:00
kbl_da7219_max98927.c ASoC: Intel: Drop da7219_aad_jack_det() usage 2022-11-07 13:58:14 +00:00
kbl_rt5660.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
kbl_rt5663_max98927.c ASoC: Intel: kbl_rt5663_max98927: remap jack pins 2022-06-17 10:46:24 +01:00
kbl_rt5663_rt5514_max98927.c ASoC: Intel: kbl_rt5663_rt5514_max98927: remap jack pins 2022-06-17 10:46:27 +01:00
skl_hda_dsp_common.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
skl_hda_dsp_common.h ASoC: intel/skl/hda - fix probe regression on systems without i915 2020-07-22 13:34:24 +01:00
skl_hda_dsp_generic.c ASoC: Intel: Drop hdac_ext usage for codec device creation 2022-08-18 09:46:43 +02:00
skl_nau88l25_max98357a.c ASoC: Intel: boards: Fix typo in comments 2022-10-26 14:18:27 +01:00
skl_nau88l25_ssm4567.c ASoC: Intel: boards: Fix typo in comments 2022-10-26 14:18:27 +01:00
skl_rt286.c ASoC: codecs: rt286: Reorganize jack detect handling 2022-06-10 13:32:17 +01:00
sof_cirrus_common.c ASoC: Intel: cirrus-common: Make const array uid_strings static 2022-11-03 13:26:15 +00:00
sof_cirrus_common.h ASoC: Intel: cirrus-common: support cs35l41 amplifier 2022-03-02 13:43:42 +00:00
sof_cs42l42.c ASoC: Intel: sof_cs42l42: use function devm_kcalloc() instead of devm_kzalloc() 2022-09-19 17:52:38 +01:00
sof_da7219_max98373.c ASoC: Intel: Drop da7219_aad_jack_det() usage 2022-11-07 13:58:14 +00:00
sof_es8336.c ASoC: sof_es8336: fix possible use-after-free in sof_es8336_remove() 2022-12-05 17:29:36 +00:00
sof_maxim_common.c ASoC: Intel: boards: add 'static' qualifiers for max98390 routes 2021-12-08 13:07:57 +00:00
sof_maxim_common.h ASoC: Intel: boards: add max98390 2/4 speakers support 2021-11-30 13:08:14 +00:00
sof_nau8825.c ASoC: Intel: sof-nau8825: fix module alias overflow 2022-12-26 23:23:18 +00:00
sof_pcm512x.c ASoC: Intel: sof_pcm512x: remove unnecessary init 2022-06-06 12:35:16 +01:00
sof_realtek_common.c ASoC: Intel: sof_realtek_common: set ret = 0 as initial value 2022-12-07 14:19:09 +00:00
sof_realtek_common.h ASoC: Intel: sof_rt5682: remove SOF_RT1015_SPEAKER_AMP_100FS flag 2022-09-30 09:16:32 +01:00
sof_rt5682.c ASoC: Intel: sof_rt5682: add jsl_rt5682 board config 2022-12-07 14:19:07 +00:00
sof_sdw.c ASoC: Intel: sof_sdw: use common helpers for all Realtek amps 2022-12-07 14:19:08 +00:00
sof_sdw_amp_coeff_tables.h ASoC: Intel: sof_sdw_amp: mark coeff tables with __maybe_unused 2022-11-18 14:04:42 +00:00
sof_sdw_common.h ASoC: Intel: sof_sdw: use common helpers for all Realtek amps 2022-12-07 14:19:08 +00:00
sof_sdw_dmic.c ASoC: Intel: sof_sdw: clean-up inclusion of header files 2020-08-24 13:41:36 +01:00
sof_sdw_hdmi.c ASoC: Intel: sof_sdw: remove hdac-hdmi support 2021-06-22 12:47:03 +01:00
sof_sdw_max98373.c ASoC: Intel: sof_sdw: pass card information to init/exit functions 2021-08-13 16:50:40 +01:00
sof_sdw_rt700.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
sof_sdw_rt711.c ASoC: Intel: sof_sdw: avoid oops in error handling 2022-07-15 17:10:54 +01:00
sof_sdw_rt711_sdca.c ASoC: Intel: sof_sdw: avoid oops in error handling 2022-07-15 17:10:54 +01:00
sof_sdw_rt715.c ASoC: intel: sof_sdw: move DMIC link id overwrite to create_sdw_dailink 2021-11-15 13:26:55 +00:00
sof_sdw_rt715_sdca.c ASoC: intel: sof_sdw: move DMIC link id overwrite to create_sdw_dailink 2021-11-15 13:26:55 +00:00
sof_sdw_rt5682.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
sof_sdw_rt_amp.c ASoC: Intel: sof_sdw: use common helpers for all Realtek amps 2022-12-07 14:19:08 +00:00
sof_ssp_amp.c ASoC: Intel: sof_ssp_amp: use devm_kcalloc() instead of devm_kzalloc() 2022-09-19 17:52:39 +01:00
sof_wm8804.c ASoC: Intel: boards: remove .nonatomic for BE dailinks 2021-05-10 13:04:21 +01:00