linux/sound/soc
Pierre-Louis Bossart 035333dddd 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-19 05:33:42 +02:00
..
adi
amd ASoC: amd: change clk_get() to devm_clk_get() and add missed checks 2020-12-30 11:51:22 +01:00
atmel Revert "ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek" 2024-01-25 14:34:29 -08:00
au1x
bcm
cirrus
codecs ASoC: max98088: Check for clk_prepare_enable() error 2024-08-19 05:33:33 +02:00
dwc ASoC: dwc: limit the number of overrun messages 2023-06-09 10:28:56 +02:00
fsl ASoC: fsl-asoc-card: set priv->pdev before using it 2024-07-05 09:08:26 +02:00
generic ASoC: audio-graph-card: fix refcount leak of cpu_ep in __graph_for_each_link() 2023-01-18 11:41:40 +01:00
hisilicon ASoC: hisilicon: fix missing clk_disable_unprepare() on error in hi6210_i2s_startup() 2021-07-14 16:53:40 +02:00
img ASoC: img: Fix PM reference leak in img_i2s_in_probe() 2021-07-20 16:10:43 +02:00
intel ASoC: Intel: use soc_intel_is_byt_cr() only when IOSF_MBI is reachable 2024-08-19 05:33:42 +02:00
jz4740 ASoC: jz4740-i2s: add missed checks for clk_get() 2020-12-30 11:51:18 +01:00
kirkwood ASoC: kirkwood: Iterate over array indexes instead of using pointer math 2023-03-11 16:43:57 +01:00
mediatek ASoC: mediatek: mt8173-rt5650-rt5514: fix refcount leak in mt8173_rt5650_rt5514_dev_probe() 2023-01-18 11:41:39 +01:00
meson ASoC: meson: axg-tdm-interface: fix mclk setup without mclk-fs 2024-03-26 18:22:22 -04:00
mxs ASoC: mxs-saif: Fix refcount leak in mxs_saif_probe 2022-06-14 18:11:36 +02:00
pxa ASoC: pxa: fix a memory leak in probe() 2023-10-25 11:53:24 +02:00
qcom ASoC: qcom: q6dsp: Fix an off-by-one in q6adm_alloc_copp() 2022-08-25 11:18:05 +02:00
rockchip ASoC: rockchip: spdif: Add missing clk_disable_unprepare() in rk_spdif_runtime_resume() 2023-01-18 11:41:40 +01:00
samsung ASoC: samsung: idma: Check of ioremap return value 2022-01-27 09:19:39 +01:00
sh ASoC: rsnd: Add check for rsnd_mod_power_on 2022-10-26 13:22:29 +02:00
sirf
sof ASoC: SOF: Intel: hda-dai: fix possible stream_tag leak 2023-02-22 12:50:42 +01:00
spear
sprd
sti ASoC: sti: Fix deadlock via snd_pcm_stop_xrun() call 2022-03-28 08:46:46 +02:00
stm ASoC: stm32: spdifrx: fix regmap status check 2020-05-02 08:49:01 +02:00
sunxi ASoC: sunxi: sun4i-spdif: Add support for Allwinner H616 2024-03-01 13:13:34 +01:00
tegra ASoC: tegra: Set driver_name=tegra for all machine drivers 2021-07-19 08:53:16 +02:00
ti ASoC: ti: omap-hdmi: Fix too long driver name 2024-07-27 10:38:30 +02:00
txx9
uniphier ASoC: uniphier: drop selecting non-existing SND_SOC_UNIPHIER_AIO_DMA 2022-01-27 09:19:38 +01:00
ux500 ASoC: ux500: mop500: Fix some refcounted resources issues 2020-06-24 17:50:26 +02:00
xilinx ASoC: xilinx: xlnx_formatter_pcm: Make buffer bytes multiple of period bytes 2022-02-08 18:24:32 +01:00
xtensa
zte
Kconfig
Makefile
soc-ac97.c
soc-acpi.c
soc-component.c
soc-compress.c ASoC: soc-compress.c: fixup private_data on snd_soc_new_compress() 2023-03-11 16:43:46 +01:00
soc-core.c ASoC: core: Fix use-after-free in snd_soc_exit() 2022-11-25 17:42:13 +01:00
soc-dai.c
soc-dapm.c ASoC: dapm: Don't fold register value changes into notifications 2022-06-14 18:11:27 +02:00
soc-devres.c
soc-generic-dmaengine-pcm.c ASoC: dmaengine: Restore NULL prepare_slave_config() callback 2022-05-12 12:23:44 +02:00
soc-io.c
soc-jack.c
soc-ops.c ASoC: ops: Fix wraparound for mask in snd_soc_get_volsw 2024-04-13 12:51:36 +02:00
soc-pcm.c ASoC: soc-pcm: Add NULL check in BE reparenting 2022-12-14 11:30:41 +01:00
soc-topology.c ASoC: topology: Allow TLV control to be either read or write 2022-04-15 14:18:30 +02:00
soc-utils.c ASoC: soc-utils: Remove __exit for snd_soc_util_exit() 2022-11-25 17:42:14 +01:00