[alsa-devel] snd_soc_codec_set_cache_io()
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.
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
participants (2)
-
Dimitris Papastamos
-
Timur Tabi