[alsa-devel] [PATCH 08/10] ASoC: dapm: Add snd_soc_dapm_add_path() helper function
broonie at kernel.org
Mon Jul 29 19:45:17 CEST 2013
On Mon, Jul 29, 2013 at 05:14:02PM +0200, Lars-Peter Clausen wrote:
> snd_soc_dapm_add_path() is similar to snd_soc_dapm_add_route() except that it
> expects the pointer to the source and sink widgets instead of their names. This
> allows us to simplify the case where we already have a pointer to widgets. (E.g.
> as we have in snd_soc_dapm_link_dai_widgets()). snd_soc_dapm_add_route() will be
> updated to just look up the widget and then use snd_soc_dapm_add_path() to
> handle everything else.
I've applied everything up to patch 9, this is all really good stuff.
This one would've been a bit easier to review if the refactoring were
split out from the changes to the users (who could've continued to use
add_route() for the time being).
Patch 10 I want to have a bit more of a think about and probably try
using it in something.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: Digital signature
More information about the Alsa-devel