diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-11-02 08:36:06 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-11-16 11:14:03 +0100 |
commit | 35be544af367170a9c6bf63adcf9d0cb2d569dbb (patch) | |
tree | 7bcd2dabde3b3f950916962edb5c601482c00335 /sound/pci/hda/hda_jack.h | |
parent | 3a93897ea37cbb8277f8a4232c12c0c18168a7db (diff) | |
download | linux-35be544af367170a9c6bf63adcf9d0cb2d569dbb.tar.bz2 |
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.h | 1 |
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 */ }; |