diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-02-13 05:55:02 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-02-13 06:06:09 -0500 |
commit | 71b1e9e43d5199f57c109e20c0f4dffc5c048130 (patch) | |
tree | f8e5b6bcc8eb8de6813d6d9bdc382dacb5a48467 /sound/pci/hda/hda_codec.h | |
parent | a9c74173f4be2a536ef8d8c88642e41527f2d8b4 (diff) |
ALSA: hda - Add codec->no_jack_detect flag
Add a new flag to indicate that the codec has no jack-detection cap.
This flag should be set for hardwares that have no jack-detect
implementation although the codec chip itself supports it.
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h index e9f71dc0d464..654d2e41e25d 100644 --- a/sound/pci/hda/hda_codec.h +++ b/sound/pci/hda/hda_codec.h | |||
@@ -852,6 +852,7 @@ struct hda_codec { | |||
852 | unsigned int pins_shutup:1; /* pins are shut up */ | 852 | unsigned int pins_shutup:1; /* pins are shut up */ |
853 | unsigned int no_trigger_sense:1; /* don't trigger at pin-sensing */ | 853 | unsigned int no_trigger_sense:1; /* don't trigger at pin-sensing */ |
854 | unsigned int ignore_misc_bit:1; /* ignore MISC_NO_PRESENCE bit */ | 854 | unsigned int ignore_misc_bit:1; /* ignore MISC_NO_PRESENCE bit */ |
855 | unsigned int no_jack_detect:1; /* Machine has no jack-detection */ | ||
855 | #ifdef CONFIG_SND_HDA_POWER_SAVE | 856 | #ifdef CONFIG_SND_HDA_POWER_SAVE |
856 | unsigned int power_on :1; /* current (global) power-state */ | 857 | unsigned int power_on :1; /* current (global) power-state */ |
857 | unsigned int power_transition :1; /* power-state in transition */ | 858 | unsigned int power_transition :1; /* power-state in transition */ |