diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-01-12 12:59:18 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-01-12 12:59:18 +0400 |
commit | 9e4ce164ee3a1d07580f017069c25d180b0aa785 (patch) | |
tree | 7569661eae727a5a349e4c98dba42ca681857462 /include | |
parent | 627b79628f56c3deeb17dec1edf6899b49552fa4 (diff) | |
parent | f2cbba7602383cd9cdd21f0a5d0b8bd1aad47b33 (diff) | |
download | linux-9e4ce164ee3a1d07580f017069c25d180b0aa785.tar.xz |
Merge branch 'topic/hda' into for-linus
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/control.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sound/control.h b/include/sound/control.h index 1a94a216ed99..b2796e83c7ac 100644 --- a/include/sound/control.h +++ b/include/sound/control.h @@ -227,4 +227,12 @@ snd_ctl_add_slave_uncached(struct snd_kcontrol *master, return _snd_ctl_add_slave(master, slave, SND_CTL_SLAVE_NEED_UPDATE); } +/* + * Helper functions for jack-detection controls + */ +struct snd_kcontrol * +snd_kctl_jack_new(const char *name, int idx, void *private_data); +void snd_kctl_jack_report(struct snd_card *card, + struct snd_kcontrol *kctl, bool status); + #endif /* __SOUND_CONTROL_H */ |