]> 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)
committerSasha Levin <sasha.levin@oracle.com>
Fri, 3 Jul 2015 16:34:29 +0000 (12:34 -0400)
commit9e207f53f3578b7a55bdebaec95cff44279a0a4b
treec55dad9c587de466dc28efe58fb7e9aa5429d17d
parent58528a8141f1012fbed6eaaf27ef4847b64b90e2
ALSA: hda - Fix mute-LED fixed mode

[ Upstream commit ee52e56e7b12834476cd0031c5986254ba1b6317 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
sound/pci/hda/hda_codec.c