linux/sound/soc/intel
Pierre-Louis Bossart 9931f7d5d2
ASoC: Intel: use soc_intel_is_byt_cr() only when IOSF_MBI is reachable
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: 536cfd2f37 ("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>
2024-07-22 13:04:49 +01:00
..
atom ASoC: intel: Use *-y instead of *-objs in Makefile 2024-05-08 11:39:20 +09:00
avs ASoC: Few constifications (mostly arguments) 2024-06-23 13:13:00 +01:00
boards ASoC: Intel: sof_sdw: Convert comma to semicolon 2024-07-09 17:37:26 +01:00
catpt ASoC: intel: Use *-y instead of *-objs in Makefile 2024-05-08 11:39:20 +09:00
common ASoC: Intel: use soc_intel_is_byt_cr() only when IOSF_MBI is reachable 2024-07-22 13:04:49 +01:00
keembay ASoC: intel: Use *-y instead of *-objs in Makefile 2024-05-08 11:39:20 +09:00
skylake ASoC: Intel: Skylake: Constify struct snd_soc_tplg_ops 2024-05-27 01:31:18 +01:00
Kconfig ASoC: Intel: avs: Switch to ACPI NHLT 2024-04-21 23:35:13 +09:00
Makefile ASoC: Intel: Introduce AVS driver 2022-03-11 16:23:54 +00:00