[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <be093793-3514-840a-ff2f-4dc21d8ee7f1@huawei.com>
Date: Tue, 11 Feb 2020 09:39:14 +0800
From: Yuehaibing <yuehaibing@...wei.com>
To: Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>,
<lgirdwood@...il.com>, <broonie@...nel.org>, <perex@...ex.cz>,
<tiwai@...e.com>, <shawnguo@...nel.org>, <s.hauer@...gutronix.de>,
<kernel@...gutronix.de>, <festevam@...il.com>, <linux-imx@....com>,
<daniel.baluta@....com>, <krzk@...nel.org>
CC: <alsa-devel@...a-project.org>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [alsa-devel] [PATCH -next] ASoC: SOF: imx8: Fix randbuild error
On 2020/2/11 5:00, Pierre-Louis Bossart wrote:
>
>
> On 2/10/20 12:15 AM, YueHaibing wrote:
>> 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
>>
>> Reported-by: Hulk Robot <hulkci@...wei.com>
>> Fixes: f9ad75468453 ("ASoC: SOF: imx: fix reverse CONFIG_SND_SOC_SOF_OF dependency")
>> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
>
> Thanks for the report.
>
> Would you mind sharing the .config and instructions to reproduce this case? we have an unrelated issue with allyesconfig that was reviewed here:
>
> https://github.com/thesofproject/linux/pull/1778
>
> and I'd probably a good thing to fix everything in one shot.
config is attached, which is on x86_64
>
> Thanks!
>
>> ---
>> sound/soc/sof/imx/Kconfig | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/sound/soc/sof/imx/Kconfig b/sound/soc/sof/imx/Kconfig
>> index bae4f7b..81274906 100644
>> --- a/sound/soc/sof/imx/Kconfig
>> +++ b/sound/soc/sof/imx/Kconfig
>> @@ -14,7 +14,7 @@ if SND_SOC_SOF_IMX_TOPLEVEL
>> config SND_SOC_SOF_IMX8_SUPPORT
>> bool "SOF support for i.MX8"
>> depends on IMX_SCU
>> - depends on IMX_DSP
>> + select IMX_DSP
>> help
>> This adds support for Sound Open Firmware for NXP i.MX8 platforms
>> Say Y if you have such a device.
>>
>
> .
>
View attachment "randconfig" of type "text/plain" (156847 bytes)
Powered by blists - more mailing lists