From: Lars-Peter Clausen Date: Sat, 25 Oct 2014 15:41:56 +0000 (+0200) Subject: ASoC: dapm: Only mark paths dirty when the connection status changed X-Git-Tag: omap-for-v3.19/fixes-rc1~126^2~20^2~25^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a2019480bc5146eb54fc5f0b2ff57b95629a09a;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed