[alsa-devel] [RFC PATCH 2/6] ASoC: sgtl5000: write all default registers

Mark Brown broonie at kernel.org
Fri Mar 6 21:14:06 CET 2015


On Thu, Feb 26, 2015 at 03:54:29PM -0700, Eric Nelson wrote:
> If an error occurs writing defaults, produce an error message but
> continue writing other registers. The failure of a single write should
> not cause catastrophic device failure.
> 
> In at least one occurrence, I2C writes of CHIP_ANA_POWER was nacked,
> though continuing allowed the device to operate properly.

I'm a bit nervous about this.  Generally problems physically writing to
the device are pretty bad and lead to followon hard to debug problems as
the chip state drifts from the state the software thinks it has.  If
this is a good idea I'd really like to see more analysis as to why this
is expected to happen and why it's OK.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150306/e99fd449/attachment.sig>


More information about the Alsa-devel mailing list