From: Charles Keepax Date: Thu, 7 May 2015 10:33:58 +0000 (+0100) Subject: ASoC: dapm: Break out of widget search when source and sink are located X-Git-Tag: omap-for-v4.3/legacy-v2-signed~142^2~38^2~1^2~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70c751095d5481d246ae7ec622ed35a76ce6ff0c;p=pandora-kernel.git ASoC: dapm: Break out of widget search when source and sink are located Currently snd_soc_dapm_add_route will continue to search the widget list even after both the source and sink for the route have been located. This patch breaks out of the search when both are located giving a small improvement in probe time for drivers. Signed-off-by: Charles Keepax Signed-off-by: Mark Brown --- Reading git-diff-tree failed