diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-08-27 15:50:59 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-08-27 15:38:18 +0100 |
commit | 4b52fa211a7c65eab78acf3f434361d40de87688 (patch) | |
tree | bed7dee80f27496cb792c83f95095adf1daee7ab /sound/soc/codecs/sgtl5000.c | |
parent | 148663074c1778d88c9e9c5f5cc66493ed30fa25 (diff) |
ASoC: Call snd_soc_dapm_new_widgets() only once during card initialization
Each time snd_soc_dapm_new_widgets() is called it will instantiate all the
widgets and routes that have been added so far and then power them. Doing this
multiple times before the card is fully initialized and all widgets have been
added can cause unnecessary and even invalid power state transitions which can
result in extra register writes and and also might cause clicks and pops.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/sgtl5000.c')
0 files changed, 0 insertions, 0 deletions