]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: hda - Fix mute-LED fixed mode
authorTakashi Iwai <tiwai@suse.de>
Mon, 27 Apr 2015 08:36:11 +0000 (10:36 +0200)
committerJiri Slaby <jslaby@suse.cz>
Fri, 15 May 2015 07:10:46 +0000 (09:10 +0200)
commit5de7565b4e5cf5e5e21027968d3a9bdad23c162c
tree10c1801df5da337c24067dd08f1ea81321a79dc0
parentf10cdffde1c8d4ca09ea045742e4092006230163
ALSA: hda - Fix mute-LED fixed mode

commit ee52e56e7b12834476cd0031c5986254ba1b6317 upstream.

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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
sound/pci/hda/hda_codec.c