From: Lars-Peter Clausen Date: Mon, 20 Oct 2014 17:36:33 +0000 (+0200) Subject: ASoC: dapm: Reduce number of checked paths in dapm_widget_in_card_paths() X-Git-Tag: omap-for-v3.19/fixes-rc1~126^2~20^2~25^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdc4508b4d1c609e3b0e4f23697edbee0d23b86e;p=pandora-kernel.git ASoC: dapm: Reduce number of checked paths in dapm_widget_in_card_paths() Each widget has a list of all the paths that it is connected to. There is no need to iterate over all paths when we are only interested in the paths of a specific widget. Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed