linux-imx/sound/soc/intel/common
Pierre-Louis Bossart be6d86df47 ASoC: Intel: use soc_intel_is_byt_cr() only when IOSF_MBI is reachable
[ Upstream commit 9931f7d5d2 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-08-03 08:54:40 +02:00
..
Makefile ASoC: Intel: common: add ACPI matching tables for Arrow Lake 2024-06-12 11:11:59 +02:00
soc-acpi-intel-adl-match.c ASoC: Intel: soc-acpi: fix Dell SKU 0B34 2023-09-19 13:48:35 +01:00
soc-acpi-intel-arl-match.c ASoC: Intel: common: add ACPI matching tables for Arrow Lake 2024-06-12 11:11:59 +02:00
soc-acpi-intel-bxt-match.c ASoC: Intel: soc-acpi: add more ACPI HIDs for ES83x6 devices 2022-03-09 13:30:21 +00:00
soc-acpi-intel-byt-match.c ASoC: Intel: soc-acpi-byt: Fix "WM510205" match no longer working 2023-04-24 16:41:58 +01:00
soc-acpi-intel-cfl-match.c
soc-acpi-intel-cht-match.c ASoC: Intel: soc-acpi-cht: Add Lenovo Yoga Tab 3 Pro YT3-X90 quirk 2023-11-28 17:19:44 +00:00
soc-acpi-intel-cml-match.c ASoC: Intel: soc-acpi: add more ACPI HIDs for ES83x6 devices 2022-03-09 13:30:21 +00:00
soc-acpi-intel-cnl-match.c ASoC: Intel: soc-acpi: add ESSX8336 support on Cannon Lake machines 2022-03-09 13:30:23 +00:00
soc-acpi-intel-ehl-match.c ASoC: soc-acpi: remove sof_fw_filename 2022-03-02 13:43:37 +00:00
soc-acpi-intel-glk-match.c ASoC: Intel: glk_rt5682_max98357a: fix board id mismatch 2024-01-25 15:35:33 -08:00
soc-acpi-intel-hda-match.c ASoC: soc-acpi: remove sof_fw_filename 2022-03-02 13:43:37 +00:00
soc-acpi-intel-hsw-bdw-match.c ASoC: Intel: Drop legacy HSW/BDW board-match information 2022-08-16 13:08:04 +01:00
soc-acpi-intel-icl-match.c ASoC: Intel: soc-acpi: add ES83x6 support to IceLake 2022-10-31 21:15:16 +00:00
soc-acpi-intel-jsl-match.c ASoC: Intel: sof_rt5682: add jsl_rt5650 board config 2023-07-12 14:33:47 +01:00
soc-acpi-intel-kbl-match.c
soc-acpi-intel-lnl-match.c ASoC: Intel: soc-acpi: add tables for LunarLake 2023-05-15 20:11:58 +09:00
soc-acpi-intel-mtl-match.c ASoC: Intel: soc-acpi: Add entry for HDMI_In capture support in MTL match table 2023-09-19 13:48:33 +01:00
soc-acpi-intel-rpl-match.c ASoC: Intel: RPL/MTL machine updates for 6.6 2023-08-15 19:22:03 +01:00
soc-acpi-intel-sdw-mockup-match.c
soc-acpi-intel-sdw-mockup-match.h
soc-acpi-intel-skl-match.c
soc-acpi-intel-tgl-match.c ASoC: Intel: soc-acpi-intel-tgl-match: add rt712 ID 2023-06-05 14:00:17 +01:00
soc-intel-quirks.h ASoC: Intel: use soc_intel_is_byt_cr() only when IOSF_MBI is reachable 2024-08-03 08:54:40 +02:00
sst-dsp-priv.h
sst-dsp.c
sst-dsp.h
sst-ipc.c
sst-ipc.h