summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-10-25 19:41:56 +0400
committerMark Brown <broonie@kernel.org>2014-10-28 03:19:59 +0300
commit4a2019480bc5146eb54fc5f0b2ff57b95629a09a (patch)
treeb3fa7c9b9f0720a3e3c7b3d37132ae4e1091a68f /tools/perf/scripts/python
parent130897ac5ac03adb4604d27497c378c64c7b22dd (diff)
downloadlinux-4a2019480bc5146eb54fc5f0b2ff57b95629a09a.tar.xz
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions