]> git.baikalelectronics.ru Git - kernel.git/commit
[ALSA] hda-codec - Fix logic error in headphone mute for Conexant codecs
authorTobin Davis <tdavis@dsl-only.net>
Mon, 26 Feb 2007 15:07:42 +0000 (16:07 +0100)
committerJaroslav Kysela <perex@suse.cz>
Tue, 6 Mar 2007 09:40:33 +0000 (10:40 +0100)
commit13c175c68bc92bc218ae120f2cc5d9969c3a16c9
tree15d22b9f597abbcae1838caa269eb9b7ec55d129
parent634f004270afc73e35ea6b28c1cf5f5cbc514c1a
[ALSA] hda-codec - Fix logic error in headphone mute for Conexant codecs

This patch fixes a logic error introduced in the previous patch.
Without it, speaker automute mutes the speakers when headphones are
removed and unmutes when headphones are plugged in.
This was reported by Gregorio Guidi after getting the earlier patch
off this mailing list.

Signed-off-by: Tobin Davis <tdavis@dsl-only.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/hda/patch_conexant.c