From: Lars-Peter Clausen Date: Mon, 29 Jul 2013 15:14:02 +0000 (+0200) Subject: ASoC: dapm: Add snd_soc_dapm_add_path() helper function X-Git-Tag: v3.12-rc1~150^2~9^2~45^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2553628e1973709bf378320ecffd3e4fb34458db;p=pandora-kernel.git ASoC: dapm: Add snd_soc_dapm_add_path() helper function 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. Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed