commit | 4a2019480bc5146eb54fc5f0b2ff57b95629a09a | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Sat Oct 25 17:41:56 2014 +0200 |
committer | Mark Brown <broonie@kernel.org> | Tue Oct 28 00:19:59 2014 +0000 |
tree | b3fa7c9b9f0720a3e3c7b3d37132ae4e1091a68f | |
parent | 130897ac5ac03adb4604d27497c378c64c7b22dd [diff] |
ASoC: dapm: Only mark paths dirty when the connection status changed Rework soc_dapm_{mixer,mux}_update_power() to only mark a path dirty if the connect state if the path has actually changed. This avoids unnecessary power state checks for the widgets involved. Also factor out the common code that is involved in this into a helper function. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>