[alsa-devel] [RFC] ASoC: sgtl5000: Remove cache support

Mark Brown broonie at kernel.org
Wed May 8 16:59:19 CEST 2013

On Wed, May 08, 2013 at 07:26:22AM -0700, Eric Nelson wrote:

> An initial pass of writing all of the default register values with a
> sort of 'cache flush' appears to be the right thing.

> Then it doesn't even matter if the values match the datasheet, or if
> the spec changes over time. If the values are reasonable, the device
> will function properly.

No, it does matter - when we do things like cache syncs on resume the
core will suppress writes of registers which have their power on value
since either the register will have been reset to that value by power
loss or retained the value due to power being maintained.  This is a
useful win when resuming to audio activity, I2C is pretty slow.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20130508/77db9291/attachment.sig>

More information about the Alsa-devel mailing list