]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: imx8: Fix randbuild error
authorYueHaibing <yuehaibing@huawei.com>
Thu, 9 Apr 2020 07:18:28 +0000 (10:18 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 15 Apr 2020 22:28:04 +0000 (23:28 +0100)
commitea68e5ae486dd8c349c8b43680bef6beeea43b98
tree2d2cbc4cccd0929e30eaf185a27d3ea9d3e01183
parentab78212802b272b22f93d97667fe9d270e38925f
ASoC: SOF: imx8: Fix randbuild error

when do randconfig like this:
CONFIG_SND_SOC_SOF_IMX8_SUPPORT=y
CONFIG_SND_SOC_SOF_IMX8=y
CONFIG_SND_SOC_SOF_OF=y
CONFIG_IMX_DSP=m
CONFIG_IMX_SCU=y

there is a link error:

sound/soc/sof/imx/imx8.o: In function 'imx8_send_msg':
imx8.c:(.text+0x380): undefined reference to 'imx_dsp_ring_doorbell'

Select IMX_DSP in SND_SOC_SOF_IMX8_SUPPORT to fix this

Fixes: 3d851160e9c7 ("ASoC: SOF: imx: fix reverse CONFIG_SND_SOC_SOF_OF dependency")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Link: https://lore.kernel.org/r/20200409071832.2039-2-daniel.baluta@oss.nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/imx/Kconfig