[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b784c008-7094-05cb-6200-6b246ff39bb8@linux.intel.com>
Date: Tue, 28 Apr 2020 18:00:19 -0500
From: Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: Daniel Baluta <daniel.baluta@....com>,
Stephen Rothwell <sfr@...b.auug.org.au>,
ALSA Development Mailing List <alsa-devel@...a-project.org>,
Kai Vehmanen <kai.vehmanen@...ux.intel.com>,
Liam Girdwood <lgirdwood@...il.com>,
Fabio Estevam <festevam@...il.com>,
Sascha Hauer <s.hauer@...gutronix.de>,
YueHaibing <yuehaibing@...wei.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Takashi Iwai <tiwai@...e.com>, Mark Brown <broonie@...nel.org>,
Ranjani Sridharan <ranjani.sridharan@...ux.intel.com>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
sound-open-firmware@...a-project.org,
Shawn Guo <shawnguo@...nel.org>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>,
NXP Linux Team <linux-imx@....com>
Subject: Re: [PATCH] ASoC: SOF: sort out Kconfig, again
>>> Thanks Arnd, do you mind sharing your config?
>>
>> https://pastebin.com/HRX5xi3R
>
> will give it a try, thanks!
>
>>> We noticed last week that
>>> there's a depend/select confusion might be simpler to fix, see
>>> https://github.com/thesofproject/linux/pull/2047/commits
>>>
>>> If I look at the first line I see a IMX_DSP=n which looks exactly like
>>> what we wanted to fix.
>>
>> Yes, I think that fix addresses the build warning as well, but looking
>> more closely I don't think it's what you want: If you do this on
>> a config that has the IMX_DSP disabled, it would appear to the
>> user that you have enabled the drivers, but the actual code is still
>> disabled.
>
> Are you sure? we added a select IMX_DSP, so not sure how it can be
> disabled?
I just tested Arnd's config with the patch we came up with for SOF
(attached) and it makes the unmet dependency go away and builds fine.
the problem is really using select IMX_DSP if it can be disabled by
something else. My proposal looks simpler but I will agree it's not
necessarily super elegant to move the dependency on IMX_BOX into SOF, so
no sustained objection from me on Arnd's proposal.
Daniel, this is your part of SOF, please chime in.
Thanks
-Pierre
View attachment "0001-ASoC-SOF-imx-fix-depends-select-IMX_DSP-confusion.patch" of type "text/x-patch" (1843 bytes)
Powered by blists - more mailing lists