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)
commit6b04d6fbdbf8db60728354b1b5659b3875f70b98
tree3076e3911b41026bfa1c9be368f721691f3adac6
parentd7eee79d4b4abb98d58eac485be296145a4dd931
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