ALSA: hda - add capture mute led support in led_power_filter
authorHui Wang <hui.wang@canonical.com>
Tue, 8 Jul 2014 09:56:15 +0000 (17:56 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 8 Jul 2014 10:41:21 +0000 (12:41 +0200)
commit50dd9050e45ce11c575eabcaee8a914caf78fb74
treee948aa1234e02db07323322adcc43c3bab10efe3
parentfc1fad93c95bed53f701a1169c556113341b43f0
ALSA: hda - add capture mute led support in led_power_filter

Now the led_power_filter() needs to handle 3 situations:
    - only mute_led_nid is set
    - only cap_mute_led_nid is set
    - both mute_led_ind and cap_mute_led_nid are set

BugLink: https://bugs.launchpad.net/bugs/1329580
Cc: David Henningsson <david.henningsson@canonical.com>
Cc: Kailang Yang <kailang@realtek.com>
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c