OpenCloudOS-Kernel/sound/soc/sof
YueHaibing f4df4e4042
ASoC: SOF: imx8: Fix COMPILE_TEST error
When do compile test, if SND_SOC_SOF_OF is not set, we get:

sound/soc/sof/imx/imx8.o: In function `imx8_dsp_handle_request':
imx8.c:(.text+0xb0): undefined reference to `snd_sof_ipc_msgs_rx'
sound/soc/sof/imx/imx8.o: In function `imx8_ipc_msg_data':
imx8.c:(.text+0xf4): undefined reference to `sof_mailbox_read'
sound/soc/sof/imx/imx8.o: In function `imx8_dsp_handle_reply':
imx8.c:(.text+0x160): undefined reference to `sof_mailbox_read'

Make SND_SOC_SOF_IMX_TOPLEVEL always depends on SND_SOC_SOF_OF

Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: 202acc565a ("ASoC: SOF: imx: Add i.MX8 HW support")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190905064400.24800-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-09-05 18:18:25 +01:00
..
imx ASoC: SOF: imx8: Fix COMPILE_TEST error 2019-09-05 18:18:25 +01:00
intel ASoC: SOF/Intel: fix selection of SND_INTEL_NHTL 2019-08-30 12:26:53 +01:00
xtensa sound fixes for 5.2-rc5 2019-06-14 05:37:06 -10:00
Kconfig ASoC: SOF: imx: Add i.MX8 HW support 2019-08-22 18:28:32 +01:00
Makefile ASoC: SOF: imx: Add i.MX8 HW support 2019-08-22 18:28:32 +01:00
control.c ASoC: SOF: dont wake dsp up in kcontrol IO 2019-06-13 19:56:07 +01:00
core.c ASoC: SOF: core: increase default IPC timeouts 2019-07-23 12:19:11 +01:00
debug.c ASoC: sof: Fix warning when IPC flood test is not enabled 2019-08-08 23:15:54 +01:00
ipc.c ASoC: SOF: ipc: use timeout configured at probe 2019-07-23 12:18:54 +01:00
loader.c ASoC: SOF: Intel: byt: Refactor fw ready / mem windows creation 2019-08-09 13:26:20 +01:00
nocodec.c ASoC: sof: use modern dai_link style 2019-06-06 22:10:38 +01:00
ops.c ASoC: SOF: Fix a compile warning with CONFIG_PCI=n 2019-05-07 11:23:57 +09:00
ops.h ASoC: SOF: Introduce snd_sof_dsp_get_window_offset 2019-08-09 13:26:02 +01:00
pcm.c ASoC: SOF: pcm: add ALH support 2019-08-16 13:13:59 +01:00
pm.c ASoC: SOF: remove unused state variable in suspend function 2019-07-23 12:20:21 +01:00
sof-acpi-dev.c ASoC: SOF: add runtime idle callback 2019-07-06 12:23:24 +01:00
sof-of-dev.c ASoC: SOF: Add OF DSP device support 2019-08-22 18:28:20 +01:00
sof-pci-dev.c ASoC: SOF: Intel: initial support for Elkhart Lake 2019-08-15 18:13:39 +01:00
sof-priv.h ASoC: SOF: Intel: byt: Refactor fw ready / mem windows creation 2019-08-09 13:26:20 +01:00
topology.c ASoC: SOF: topology: fix get control data return type and arguments 2019-08-22 18:32:16 +01:00
trace.c ASoC: SOF: no need to check return value of debugfs_create functions 2019-08-01 13:56:07 +01:00
utils.c ASoC: SOF: Add utils 2019-04-28 02:49:47 +09:00