summaryrefslogtreecommitdiff
path: root/sound/pci/hda/hda_jack.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-11-02 11:36:06 +0400
committerTakashi Iwai <tiwai@suse.de>2011-11-16 14:14:03 +0400
commit35be544af367170a9c6bf63adcf9d0cb2d569dbb (patch)
tree7bcd2dabde3b3f950916962edb5c601482c00335 /sound/pci/hda/hda_jack.h
parent3a93897ea37cbb8277f8a4232c12c0c18168a7db (diff)
downloadlinux-35be544af367170a9c6bf63adcf9d0cb2d569dbb.tar.xz
ALSA: Introduce common helper functions for jack-detection control
Now move the helper function for creating and reporting the jack-detection to the common place. The driver that needs this functionality should select CONFIG_SND_KCTL_JACK kconfig. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_jack.h')
-rw-r--r--sound/pci/hda/hda_jack.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_jack.h b/sound/pci/hda/hda_jack.h
index 69a67f8e4f45..4bb75ee16b56 100644
--- a/sound/pci/hda/hda_jack.h
+++ b/sound/pci/hda/hda_jack.h
@@ -21,7 +21,6 @@ struct hda_jack_tbl {
unsigned int pin_sense; /* cached pin-sense value */
unsigned int jack_detect:1; /* capable of jack-detection? */
unsigned int jack_dirty:1; /* needs to update? */
- unsigned int need_notify:1; /* to be notified? */
struct snd_kcontrol *kctl; /* assigned kctl for jack-detection */
};