diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-06-07 12:51:26 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-06-08 13:51:04 +0100 |
commit | b22ead2a510fdb30440753f90237e86fdac70fae (patch) | |
tree | c82e4d89c55014010ee5ce552cd469a5cab47624 /lib/dma-debug.c | |
parent | 163cac061c97394d4ef9c89efe5921dac937ddb8 (diff) |
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 <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions