[alsa-devel] [PATCH 1/3] ASoC: omap-abe-twl6040: No need to register DMIC routes seperatly

Lars-Peter Clausen lars at metafoo.de
Mon Mar 10 10:24:49 CET 2014


On 03/10/2014 10:12 AM, Mark Brown wrote:
> On Mon, Mar 10, 2014 at 09:18:50AM +0100, Lars-Peter Clausen wrote:
>
>> Hm, ok, missed that part. Makes sense. I'll respin the patch to just
>> use the card's DAPM context when registering the DMIC DAPM routes.
>
> In general anything keying this stuff off DT is going to have that sort
> of thing going on - most if not all of the things that are registering
> in several chunks are doing so because some of it is conditional.
>

Before we had the support for card table based setup you'd had to register 
them in chunks, because the components became available one after another 
and you couldn't register DAPM elements for one component in the callback of 
another one. When using the table based setup the widgets are registered 
before all components are registered and the routes are registered after all 
the components have been registered.


More information about the Alsa-devel mailing list