[alsa-devel] [PATCH] [v2] ASoC: cs4270: use the built-in register cache support

Dimitris Papastamos dp at opensource.wolfsonmicro.com
Mon Jan 10 17:36:05 CET 2011

On Mon, 2011-01-10 at 10:33 -0600, Timur Tabi wrote:
> Dimitris Papastamos wrote:
> > It'd be better to use snd_soc_update_bits() for all these.
> Ok, but I'm not enthusiastic about the fact that snd_soc_update_bits() ignores
> any errors from snd_soc_write().  Can that be fixed?

There's not much that can be done for error recovery at that point.
Usually a failing snd_soc_read()/snd_soc_write() will complain wildly
with errors from the underlying bus.  The only place that
snd_soc_read()/snd_soc_write() are checked for errors is usually in
_probe() functions.


More information about the Alsa-devel mailing list