From: Mark Brown Date: Mon, 3 Oct 2011 21:36:57 +0000 (+0100) Subject: ASoC: Reduce the number of neigbours we mark dirty when updating power X-Git-Tag: v3.2-rc1~127^2~1^2~145 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe4fda5d8f28d06ae8f1482f4bde8a83be16e44b;p=pandora-kernel.git ASoC: Reduce the number of neigbours we mark dirty when updating power If two widgets are not currently connected then there is no need to propagate a power state change between them as we mark the affected widgets when we change a connection. Similarly if a neighbour widget is already in the state being set for the current widget then there is no need to recheck. On one system I tested this gave: Power Path Neighbour Before: 114 1066 1327 After: 106 970 1186 which is an improvement, although relatively small. Signed-off-by: Mark Brown --- Reading git-diff-tree failed