summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-03-18 18:22:30 +0100
committerTakashi Iwai <tiwai@suse.de>2012-03-18 18:22:30 +0100
commitdbf117cbb9c89991727d42e3161e68b868a1b6ae (patch)
treeb3c0c07534952b493d2bdc9f73c54c6065b1691f /include/sound
parent25dc16f69892182192b1234594fd3cf342ad4195 (diff)
parent350eba43fca735733a51185f26bdc30899c64a20 (diff)
Merge branch 'topic/hda' into for-linus
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/control.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sound/control.h b/include/sound/control.h
index b2796e83c7a..eff96dc7a27 100644
--- a/include/sound/control.h
+++ b/include/sound/control.h
@@ -227,6 +227,11 @@ snd_ctl_add_slave_uncached(struct snd_kcontrol *master,
return _snd_ctl_add_slave(master, slave, SND_CTL_SLAVE_NEED_UPDATE);
}
+int snd_ctl_add_vmaster_hook(struct snd_kcontrol *kctl,
+ void (*hook)(void *private_data, int),
+ void *private_data);
+void snd_ctl_sync_vmaster_hook(struct snd_kcontrol *kctl);
+
/*
* Helper functions for jack-detection controls
*/