ALSA: hda - Fix mute-LED fixed mode
authorTakashi Iwai <tiwai@suse.de>
Mon, 27 Apr 2015 08:36:11 +0000 (10:36 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 27 Apr 2015 08:48:37 +0000 (10:48 +0200)
commitee52e56e7b12834476cd0031c5986254ba1b6317
tree3076e3911b41026bfa1c9be368f721691f3adac6
parent3e1b0c4a9d563d7fc6e22dc92613cd3237bb5ce0
ALSA: hda - Fix mute-LED fixed mode

The mute-LED mode control has the fixed on/off states that are
supposed to remain on/off regardless of the master switch.  However,
this doesn't work actually because the vmaster hook is called in the
vmaster code itself.

This patch fixes it by calling the hook indirectly after checking the
mute LED mode.

Reported-and-tested-by: Pali Rohár <pali.rohar@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c