X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Fsound%2Fcontrol.h;h=b2796e83c7acf3d1b4dd5bfacd76966a4c3eff4e;hb=b521d929b330d665cb3a42b26eaaa5690dc9dad7;hp=1a94a216ed99b72c1cca625d4bb637547fd61c85;hpb=3210d190dcb717c328d74f8c3f69ec717d665b40;p=mv-sheeva.git diff --git a/include/sound/control.h b/include/sound/control.h index 1a94a216ed9..b2796e83c7a 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 */