summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-10-19 16:15:17 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2017-10-19 16:15:17 -0400
commit962556b57c7dcc4510c2bd6cc332fc9c6bc87dc9 (patch)
treec4a16bd73389bb4d1b22270e57206d44d7e81bc2 /include
parent73d3393ada4f70fa3df5639c8d438f2f034c0ecb (diff)
parenta91d66129fb9bcead12af3ed2008d6ddbf179509 (diff)
downloadlinux-962556b57c7dcc4510c2bd6cc332fc9c6bc87dc9.tar.gz
linux-962556b57c7dcc4510c2bd6cc332fc9c6bc87dc9.tar.bz2
linux-962556b57c7dcc4510c2bd6cc332fc9c6bc87dc9.zip
Merge tag 'sound-4.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
Pull sound fixes from Takashi Iwai: "We've got slightly more fixes than wished, but heading to a good shape. Most of changes are about HD-audio fixes, one for a buggy code that went into 4.13, and another for avoiding a crash due to buggy BIOS. Apart from HD-audio, a sequencer core change that is only for UP config (which must be pretty rare nowadays), and a USB-audio quirk as usual" * tag 'sound-4.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: ALSA: hda - Fix incorrect TLV callback check introduced during set_fs() removal ALSA: hda: Remove superfluous '-' added by printk conversion ALSA: hda: Abort capability probe at invalid register read ALSA: seq: Enable 'use' locking in all configurations ALSA: usb-audio: Add native DSD support for Pro-Ject Pre Box S2 Digital
Diffstat (limited to 'include')
-rw-r--r--include/sound/control.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/control.h b/include/sound/control.h
index bd7246de58e7..a1f1152bc687 100644
--- a/include/sound/control.h
+++ b/include/sound/control.h
@@ -248,6 +248,9 @@ int snd_ctl_add_vmaster_hook(struct snd_kcontrol *kctl,
void *private_data);
void snd_ctl_sync_vmaster(struct snd_kcontrol *kctl, bool hook_only);
#define snd_ctl_sync_vmaster_hook(kctl) snd_ctl_sync_vmaster(kctl, true)
+int snd_ctl_apply_vmaster_slaves(struct snd_kcontrol *kctl,
+ int (*func)(struct snd_kcontrol *, void *),
+ void *arg);
/*
* Helper functions for jack-detection controls