commit | cdc4508b4d1c609e3b0e4f23697edbee0d23b86e | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Mon Oct 20 19:36:33 2014 +0200 |
committer | Mark Brown <broonie@kernel.org> | Wed Oct 22 12:02:33 2014 +0100 |
tree | 25375e455a09971bed18a0f9e76248e3c5b0119e | |
parent | 98ad73c995ed4886c36a1fcfcda53fbff484f666 [diff] |
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 <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>