ALSA: hda - Fix mute control with some ALC262 models
commit3db6ff5f188bc0277d26ee2e91e7354efe97560c
authorTakashi Iwai <tiwai@suse.de>
Fri, 24 Jul 2009 14:51:47 +0000 (24 16:51 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 30 Jul 2009 21:39:31 +0000 (30 14:39 -0700)
treea161c048729f48d1cfac80ce9f621a61005a9313
parent503b0cccb14e6e70b6b6f12b4cbefdc5a8eb71b5
ALSA: hda - Fix mute control with some ALC262 models

commit 8de56b7deb2534a586839eda52843c1dae680dc5 upstream.

The master mute switch is wrongly implemented as checking the pointer
instead of its value, thus it can be never muted.  This patch fixes
the issue.

Reference: Novell bnc#404873
https://bugzilla.novell.com/show_bug.cgi?id=404873

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/pci/hda/patch_realtek.c