[alsa-devel] [PATCH 1/2] ASoC: core: Add extra dapm properties for Device Tree

Mark Brown broonie at kernel.org
Tue Feb 24 15:47:17 CET 2015


On Sat, Feb 14, 2015 at 05:22:49PM -0800, Nicolin Chen wrote:
> The current helper functions, snd_soc_of_parse_audio_simple_widgets()
> and snd_soc_of_parse_audio_routing(), set dapm_widgets and dapm_routes
> without caring if they are already set by using build-in widgets and
> routes in the card driver. So there could be one of them, build-in one
> or Device Tree one, overrided by the other depending on which one was
> assigned later.

Applied both, thanks.  This doesn't feel terribly elegant (what happens
with ACPI and with whatever else?) but it does the job and we can always
refactor it to be neater later.  Or perhaps just rename the variable
which may actually be all that's needed.
-------------- 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/20150224/f2189ed2/attachment-0001.sig>


More information about the Alsa-devel mailing list