]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ALSA: hda/conexant - Don't set HP pin-control bit unconditionally
authorTakashi Iwai <tiwai@suse.de>
Thu, 19 Apr 2012 13:15:25 +0000 (15:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Apr 2012 17:16:33 +0000 (10:16 -0700)
commit77f5989e3ccb4a54ecc9aa8ca93df6c99d183a4b
treef394f147573b5942436b0b1c299e3c12b477f762
parent3f0fcf4df3d2d99e9cb234128a5edb782432e2b0
ALSA: hda/conexant - Don't set HP pin-control bit unconditionally

commit ca3649de026ff95c6f2847e8d096cf2f411c02b3 upstream.

Some output pins on Conexant chips have no HP control bit, but the
auto-parser initializes these pins unconditionally with PIN_HP.

Check the pin-capability and avoid the HP bit if not supported.

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