ALSA: hda - Fix mute-LED fixed mode
authorTakashi Iwai <tiwai@suse.de>
Mon, 27 Apr 2015 08:36:11 +0000 (10:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 May 2015 12:15:41 +0000 (05:15 -0700)
commit4453c82b204f8ba4d3c107f04bd4f83c3132bde6
treeff746de53a222bf03a8dbc5c58a9e4e3977e83d2
parentb68ed131b3e4f3cdb740ea70fe216ca8789419d7
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/hda_codec.c