From: Mark Brown Date: Sun, 7 Jun 2009 11:51:26 +0000 (+0100) Subject: ASoC: Coalesce register writes for DAPM sequences X-Git-Tag: v2.6.33-rc3~4^2~202^2~106^2~18^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b22ead2a510fdb30440753f90237e86fdac70fae;p=pandora-kernel.git ASoC: Coalesce register writes for DAPM sequences Reduce the number of register writes we need to set the power state for a CODEC by coalescing updates to widgets with the same sequence order and same register into a single write. This can be a noticable performance improvement with slow or heavily contended control buses, such as I2C controllers with a low clock frequency, and is particularly noticable when resuming. It can also reduce the noticability of and pops and clicks by ensuring that left and right channels are powered simultaneously if they are in the same register. Currently widgets that have events are not coalesced, including PGAs which may use the volume ramping control. Signed-off-by: Mark Brown --- Reading git-diff-tree failed