diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-11-02 03:36:06 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-11-16 05:14:03 -0500 |
commit | 35be544af367170a9c6bf63adcf9d0cb2d569dbb (patch) | |
tree | 7bcd2dabde3b3f950916962edb5c601482c00335 /sound/pci/hda/hda_jack.h | |
parent | 3a93897ea37cbb8277f8a4232c12c0c18168a7db (diff) |
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 { | |||
21 | unsigned int pin_sense; /* cached pin-sense value */ | 21 | unsigned int pin_sense; /* cached pin-sense value */ |
22 | unsigned int jack_detect:1; /* capable of jack-detection? */ | 22 | unsigned int jack_detect:1; /* capable of jack-detection? */ |
23 | unsigned int jack_dirty:1; /* needs to update? */ | 23 | unsigned int jack_dirty:1; /* needs to update? */ |
24 | unsigned int need_notify:1; /* to be notified? */ | ||
25 | struct snd_kcontrol *kctl; /* assigned kctl for jack-detection */ | 24 | struct snd_kcontrol *kctl; /* assigned kctl for jack-detection */ |
26 | }; | 25 | }; |
27 | 26 | ||