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)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 25 Apr 2012 06:18:30 +0000 (11:18 +0530)
commita8f614d87312c60306153be69147e327897d68d0
treef63f16b99671105a8c442b78b5e529cf9be1c966
parent2b0b72874758c7d0aaac636798d99612c0bf5c43
ALSA: hda/conexant - Don't set HP pin-control bit unconditionally

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.

Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_conexant.c