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)
committerTakashi Iwai <tiwai@suse.de>
Thu, 19 Apr 2012 13:15:25 +0000 (15:15 +0200)
commitca3649de026ff95c6f2847e8d096cf2f411c02b3
tree86bea3f1897ea8860dc80275bf1a2942d68eab12
parentc16fa4f2ad19908a47c63d8fa436a1178438c7e7
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