132fbda770
[ Upstream commit 9931f7d5d251882a147cc5811060097df43e79f5 ] the Intel kbuild bot reports a link failure when IOSF_MBI is built-in but the Merrifield driver is configured as a module. The soc-intel-quirks.h is included for Merrifield platforms, but IOSF_MBI is not selected for that platform. ld.lld: error: undefined symbol: iosf_mbi_read >>> referenced by atom.c >>> sound/soc/sof/intel/atom.o:(atom_machine_select) in archive vmlinux.a This patch forces the use of the fallback static inline when IOSF_MBI is not reachable. Fixes: 536cfd2f375d ("ASoC: Intel: use common helpers to detect CPUs") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202407160704.zpdhJ8da-lkp@intel.com/ Suggested-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://patch.msgid.link/20240722083002.10800-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org> |
||
---|---|---|
.. | ||
Makefile | ||
soc-acpi-intel-bxt-match.c | ||
soc-acpi-intel-byt-match.c | ||
soc-acpi-intel-cfl-match.c | ||
soc-acpi-intel-cht-match.c | ||
soc-acpi-intel-cml-match.c | ||
soc-acpi-intel-cnl-match.c | ||
soc-acpi-intel-ehl-match.c | ||
soc-acpi-intel-glk-match.c | ||
soc-acpi-intel-hda-match.c | ||
soc-acpi-intel-hsw-bdw-match.c | ||
soc-acpi-intel-icl-match.c | ||
soc-acpi-intel-jsl-match.c | ||
soc-acpi-intel-kbl-match.c | ||
soc-acpi-intel-skl-match.c | ||
soc-acpi-intel-tgl-match.c | ||
soc-intel-quirks.h | ||
sst-dsp-priv.h | ||
sst-dsp.c | ||
sst-dsp.h | ||
sst-ipc.c | ||
sst-ipc.h |