OSDN Git Service

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 16:51:05 +0000 (09:51 -0700)
commitc7a17402276938793a8e97fe7eefe28eb39fe874
treee5f13a10c0b571cbb4fd177a4dfff9e890b3a239
parentee6c90f9e96bc7d334f626b6076817d57cf861a1
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