diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-03-13 07:55:10 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-03-13 07:55:10 +0100 |
commit | f29735cbef4eb6072e5ae459b556f3a061efc47e (patch) | |
tree | 0ba2bdd1da5f21b41d5dfc0f0d952dc07e26dfdf /sound/pci/hda/hda_local.h | |
parent | d2f344b5e0a933b5b1d12f863406ee1d63e5bf8e (diff) | |
download | blackbird-obmc-linux-f29735cbef4eb6072e5ae459b556f3a061efc47e.tar.gz blackbird-obmc-linux-f29735cbef4eb6072e5ae459b556f3a061efc47e.zip |
ALSA: hda - Add expose_enum_ctl flag to snd_hda_add_vmaster_hook()
Since it's not always safe to assume that the vmaster hook is purely the
mute-LED control, add the flag indicating whether to expose the mute-LED
enum control or not. Currently, conexant codec sets this off for non-HP
laptops where EAPD may be used really as EAPD.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_local.h')
-rw-r--r-- | sound/pci/hda/hda_local.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h index 3f82ab6a0587..0ec9248165bc 100644 --- a/sound/pci/hda/hda_local.h +++ b/sound/pci/hda/hda_local.h @@ -165,7 +165,8 @@ struct hda_vmaster_mute_hook { }; int snd_hda_add_vmaster_hook(struct hda_codec *codec, - struct hda_vmaster_mute_hook *hook); + struct hda_vmaster_mute_hook *hook, + bool expose_enum_ctl); void snd_hda_sync_vmaster_hook(struct hda_vmaster_mute_hook *hook); /* amp value bits */ |