OSDN Git Service

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)
commitf29735cbef4eb6072e5ae459b556f3a061efc47e
tree0ba2bdd1da5f21b41d5dfc0f0d952dc07e26dfdf
parentd2f344b5e0a933b5b1d12f863406ee1d63e5bf8e
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