]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/sound/control.h
Merge branch 'tegra/soc' into next/cleanup2
[mv-sheeva.git] / include / sound / control.h
index 1a94a216ed99b72c1cca625d4bb637547fd61c85..b2796e83c7acf3d1b4dd5bfacd76966a4c3eff4e 100644 (file)
@@ -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 */