Re: [Sound-open-firmware] [PATCH] ASoC: SOF: Intel: avoid reverse module dependency

2021-01-12 Thread Pierre-Louis Bossart
Since this is going to be a really invasive change, and past experience shows that mucking with Kconfigs will invariably raise a number of broken corner cases, if there is support from Mark/Takashi/Jaroslav on this idea, we should first test it in the SOF tree so that we get a good test

Re: [Sound-open-firmware] [PATCH] ASoC: SOF: Intel: avoid reverse module dependency

2021-01-12 Thread Arnd Bergmann
On Tue, Jan 12, 2021 at 9:17 PM Pierre-Louis Bossart wrote: > > > >> Since this is going to be a really invasive change, and past > >> experience shows that mucking with Kconfigs will invariably raise a > >> number of broken corner cases, if there is support from > >> Mark/Takashi/Jaroslav on

Re: [PATCH] ASoC: SOF: Intel: avoid reverse module dependency

2021-01-12 Thread Takashi Iwai
On Mon, 11 Jan 2021 20:54:17 +0100, Pierre-Louis Bossart wrote: > > > > On 1/5/21 1:07 PM, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > The SOF-ACPI driver is backwards from the normal Linux model, it has a > > generic driver that knows about all the specific drivers, as opposed to > >

Re: [PATCH] ASoC: SOF: Intel: avoid reverse module dependency

2021-01-11 Thread Pierre-Louis Bossart
On 1/5/21 1:07 PM, Arnd Bergmann wrote: From: Arnd Bergmann The SOF-ACPI driver is backwards from the normal Linux model, it has a generic driver that knows about all the specific drivers, as opposed to having hardware specific drivers that link against a common framework. This requires

Re: [PATCH] ASoC: SOF: Intel: avoid reverse module dependency

2021-01-07 Thread Kai Vehmanen
Hi Arnd, On Wed, 6 Jan 2021, Arnd Bergmann wrote: > On Tue, Jan 5, 2021 at 8:07 PM Arnd Bergmann wrote: > > Change it to use the normal probe order of starting with a specific > > device in a driver, turning the sof-acpi-dev.c driver into a library. > > There were a couple of build failures

Re: [PATCH] ASoC: SOF: Intel: avoid reverse module dependency

2021-01-06 Thread Arnd Bergmann
On Tue, Jan 5, 2021 at 8:07 PM Arnd Bergmann wrote: > > From: Arnd Bergmann > > The SOF-ACPI driver is backwards from the normal Linux model, it has a > generic driver that knows about all the specific drivers, as opposed to > having hardware specific drivers that link against a common

[PATCH] ASoC: SOF: Intel: avoid reverse module dependency

2021-01-05 Thread Arnd Bergmann
From: Arnd Bergmann The SOF-ACPI driver is backwards from the normal Linux model, it has a generic driver that knows about all the specific drivers, as opposed to having hardware specific drivers that link against a common framework. This requires ugly Kconfig magic and leads to missed