[alsa-devel] snd_soc_codec_set_cache_io()
Dimitris Papastamos
dp at opensource.wolfsonmicro.com
Mon Jan 10 11:15:53 CET 2011
On Sun, 2011-01-09 at 16:15 -0600, Timur Tabi wrote:
> Mark,
>
> The comments for snd_soc_codec_set_cache_io() say this:
>
> * Note that at present this code cannot be used by CODECs with
> * volatile registers.
>
> Is this still true? I ask because I think I've been able to use this
> function in the CS4270 with volatile registers, and it appears to
> work.
This seems to be outdated. The soc-cache code can handle volatile
registers correctly if the driver has provided a volatile_register
callback which returns 1 for all registers that are volatile and 0
for all others.
Thanks,
Dimitris
More information about the Alsa-devel
mailing list