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)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 11 May 2012 12:13:49 +0000 (13:13 +0100)
commit78087159d096454183b0789b1a42e39a7e7505a4
tree43c526302bb4d1d670daab9d2369627e4772f329
parenteea1acbaf0cd548972b40827c37667dcfdf5cbe5
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: Ben Hutchings <ben@decadent.org.uk>
sound/pci/hda/patch_conexant.c