summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_codec.h
diff options
context:
space:
mode:
authorTakashi Iwai2012-12-21 15:31:41 +0100
committerTakashi Iwai2013-01-12 08:43:21 +0100
commit9cc159c6647f505be1205eb5e3fc3b1f84e1d4fd (patch)
tree15f2d457dffa77132ce1996e90fd1f5306dcf70a /sound/pci/hda/hda_codec.h
parentALSA: hda - Add inv_eapd flag to struct hda_codec (diff)
downloadkernel-qcow2-linux-9cc159c6647f505be1205eb5e3fc3b1f84e1d4fd.tar.gz
kernel-qcow2-linux-9cc159c6647f505be1205eb5e3fc3b1f84e1d4fd.tar.xz
kernel-qcow2-linux-9cc159c6647f505be1205eb5e3fc3b1f84e1d4fd.zip
ALSA: hda - Add codec->inv_jack_detect flag
Yet another broken hardware workaround: there are hardware indicating the inverted jack detection bit result. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r--sound/pci/hda/hda_codec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h
index 369ffafae8a9..9f241d1af38c 100644
--- a/sound/pci/hda/hda_codec.h
+++ b/sound/pci/hda/hda_codec.h
@@ -867,6 +867,7 @@ struct hda_codec {
unsigned int no_trigger_sense:1; /* don't trigger at pin-sensing */
unsigned int no_jack_detect:1; /* Machine has no jack-detection */
unsigned int inv_eapd:1; /* broken h/w: inverted EAPD control */
+ unsigned int inv_jack_detect:1; /* broken h/w: inverted detection bit */
unsigned int pcm_format_first:1; /* PCM format must be set first */
unsigned int epss:1; /* supporting EPSS? */
unsigned int cached_write:1; /* write only to caches */