aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_codec.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-12-21 15:23:01 +0100
committerTakashi Iwai <tiwai@suse.de>2013-01-12 08:43:19 +0100
commitecac3ed174034755ebc0b29393fb501ffd0b2afc (patch)
tree930026f25baa08d9cab413ff76d29e72009119f3 /sound/pci/hda/hda_codec.h
parentALSA: hda - Implement independent HP control (diff)
downloadlinux-dev-ecac3ed174034755ebc0b29393fb501ffd0b2afc.tar.xz
linux-dev-ecac3ed174034755ebc0b29393fb501ffd0b2afc.zip
ALSA: hda - Add inv_eapd flag to struct hda_codec
Add the new flag, codec->inv_eapd, indicating that the EAPD implementation is inverted. There are always broken hardware in the world. 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 2d9a51cb4a8e..369ffafae8a9 100644
--- a/sound/pci/hda/hda_codec.h
+++ b/sound/pci/hda/hda_codec.h
@@ -866,6 +866,7 @@ struct hda_codec {
unsigned int pins_shutup:1; /* pins are shut up */
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 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 */