summaryrefslogtreecommitdiff
path: root/sound/pci/hda/hda_generic.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-01-16 21:18:00 +0400
committerTakashi Iwai <tiwai@suse.de>2013-01-16 21:19:50 +0400
commit47b9ddb83b719d35ca0a723410734951b04cf403 (patch)
tree46baba6e1999a3da0833f06d06474e1d5498e37e /sound/pci/hda/hda_generic.h
parenta5cc25091c61bb8b4a4bb98207eeb7d0cf312e1c (diff)
downloadlinux-47b9ddb83b719d35ca0a723410734951b04cf403.tar.xz
ALSA: hda - Record the current speaker / LO mute status in hda_gen_spec
... to be referred by the codec driver. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_generic.h')
-rw-r--r--sound/pci/hda/hda_generic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_generic.h b/sound/pci/hda/hda_generic.h
index 6ba580540081..d4abf87c969f 100644
--- a/sound/pci/hda/hda_generic.h
+++ b/sound/pci/hda/hda_generic.h
@@ -170,6 +170,8 @@ struct hda_gen_spec {
unsigned int auto_mic:1;
unsigned int automute_speaker:1; /* automute speaker outputs */
unsigned int automute_lo:1; /* automute LO outputs */
+ unsigned int speaker_muted:1; /* current status of speaker mute */
+ unsigned int line_out_muted:1; /* current status of LO mute */
unsigned int detect_hp:1; /* Headphone detection enabled */
unsigned int detect_lo:1; /* Line-out detection enabled */
unsigned int automute_speaker_possible:1; /* there are speakers and either LO or HP */