[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)
commitdd87da1c5d3fd1d973d52e468f76fcc72ad69bd5
tree15d22b9f597abbcae1838caa269eb9b7ec55d129
parentfe8970b47ae191d932f5bac9e225e74db6e188a3
[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