]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Add expose_enum_ctl flag to snd_hda_add_vmaster_hook()
authorTakashi Iwai <tiwai@suse.de>
Tue, 13 Mar 2012 06:55:10 +0000 (07:55 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 13 Mar 2012 06:55:10 +0000 (07:55 +0100)
commite9d5e2f2728500f293d2cce0df1c0ba5a71c3cb0
tree0ba2bdd1da5f21b41d5dfc0f0d952dc07e26dfdf
parent631631076988b0b36009c3e6766712010e9cc5da
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>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_local.h
sound/pci/hda/patch_conexant.c
sound/pci/hda/patch_realtek.c
sound/pci/hda/patch_sigmatel.c