commit | 70c751095d5481d246ae7ec622ed35a76ce6ff0c | [log] [tgz] |
---|---|---|
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | Thu May 07 11:33:58 2015 +0100 |
committer | Mark Brown <broonie@kernel.org> | Mon May 11 15:12:42 2015 +0100 |
tree | 375bc0edde05f07ed4b1ce01568def77101b9544 | |
parent | 964a0b896a7c78622801afcee77ed3d240352747 [diff] |
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 <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>