ALSA: hda - Add "Mute-LED Mode" enum control
authorTakashi Iwai <tiwai@suse.de>
Mon, 12 Mar 2012 15:59:58 +0000 (16:59 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 13 Mar 2012 06:46:50 +0000 (07:46 +0100)
commitd2f344b5e0a933b5b1d12f863406ee1d63e5bf8e
tree3e7354efd8293fa6b1d6e24ddcd3c2356dafb2ba
parent527c73bada6f02a35983ddb34db3a0fd4360c88c
ALSA: hda - Add "Mute-LED Mode" enum control

Create snd_hda_add_vmaster_hook() and snd_hda_sync_vmaster_hook()
helper functions to handle the mute-LED in vmaster hook more
commonly.  In the former function, a new enum control "Mute-LED Mode"
is added.  This provides user to choose whether the mute-LED should be
turned on/off explicitly or to follow the master-mute status.

Reviewed-by: David Henningsson <david.henningsson@canonical.com>
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