10 Jan
2011
10 Jan
'11
4:36 p.m.
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.
Thanks, Dimitris