diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-01-16 20:15:22 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-03-09 16:56:19 +0300 |
commit | f5b1db634280ecaf3147ee996f26aad0ed4828c4 (patch) | |
tree | ce7ba0940e5dd3f106276d9119f7e7e3a3b0c7e6 /sound/ppc/beep.c | |
parent | fec6c6fec3e20637bee5d276fb61dd8b49a3f9cc (diff) | |
download | linux-f5b1db634280ecaf3147ee996f26aad0ed4828c4.tar.xz |
ALSA: add snd_ctl_add_slave_uncached()
Added snd_ctl_add_slave_uncached() function to add a slave element
with volatile controls. The values of normal slave elements are
supposed to be cachable, i.e. they are changed only via the put
callbacks. OTOH, when a slave element is volatile and its values may
be changed by other reason (e.g. hardware status change), the values
will get inconsistent.
The new function allows the slave elements with volatile changes.
When the slave is tied with this call, the native get callback is
issued at each time so that the values are always updated.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/ppc/beep.c')
0 files changed, 0 insertions, 0 deletions