[alsa-devel] [PATCH 2/2] ASoC: simple-card: Add support for samplerate and samplewidth constraints

Mark Brown broonie at kernel.org
Wed Mar 4 19:42:14 CET 2015


On Wed, Mar 04, 2015 at 09:56:24AM +0200, Jyri Sarha wrote:
> On 03/03/2015 05:34 PM, Mark Brown wrote:

> >>I am wondering if there would be some better way to select the dai-link
> >>configuration than writing it to DT or creating a custom machine driver for
> >>each setup.

> Continuing this tought. I wonder if it would be better to introduce a new
> compatible match for each new card, with some clever way to manage the
> accumulating matches in the code, and hard code DAI-link configurations for
> each match. This way the old configurations would not be carved to stone in
> the old dtbs.

I would prefer that, yes - if only for override capability.

> As there is a proper way to deal with this, I'll look into that first.
> However, if there still is a need for these properties I am happy to finish
> the patch.

OK, a proper fix is of course better.  Might be worth looking at tooling
to make it easier to find/use but IIRC there's not a lot doing there.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150304/1892b7b9/attachment.sig>


More information about the Alsa-devel mailing list