From: Mark Brown Date: Sat, 6 Jun 2009 18:03:23 +0000 (+0100) Subject: ASoC: Sort DAPM power sequences while building lists X-Git-Tag: v2.6.32-rc1~166^2~83^2~106^2~18^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38357ab2c83631728afa37a783c9b1bd474a0739;p=pandora-kernel.git ASoC: Sort DAPM power sequences while building lists In the past the DAPM power sequencing was done by iterating over the list of widgets once for each widget type and powering widgets of that type. Instead of doing that do the sorting at the time we insert the widgets into the lists of widgets to apply power changes to. This reduces the amount of computation required for seqencing still further, though the costs are generally dwarfed by the costs of the register writes implementing them. Signed-off-by: Mark Brown --- Reading git-diff-tree failed