]> 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)
commit0a63032e10a747d615d1a956fee75ad63f2b90eb
tree0ba2bdd1da5f21b41d5dfc0f0d952dc07e26dfdf
parentf79ee0972b3c6428c98458b30759cc28d72b01dc
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