[alsa-devel] [PATCH] ASoC: Add dapm_find_widget helper

Liam Girdwood lrg at slimlogic.co.uk
Wed Apr 27 20:42:46 CEST 2011


On Wed, 2011-04-27 at 18:34 +0200, Lars-Peter Clausen wrote:
> This patch adds a helper function for searching DAPM widgets by name.
> This allows to streamline functions which operate on widgets by name.
> It also allows to get rid of copy'n'pasted code which was added to fallback to
> widgets from other contexts if the widget was not found in the current context.
> 
> Signed-off-by: Lars-Peter Clausen <lars at metafoo.de>
> ---
>  sound/soc/soc-dapm.c |  115 +++++++++++++++++++------------------------------
>  1 files changed, 45 insertions(+), 70 deletions(-)
> 

Acked-by: Liam Girdwood <lrg at ti.com>



More information about the Alsa-devel mailing list