]> git.karo-electronics.de Git - linux-beck.git/commit
ALSA: hda/realtek - Allow different pins for shared hp/mic vref check
authorTakashi Iwai <tiwai@suse.de>
Tue, 18 Dec 2012 13:22:45 +0000 (14:22 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 12 Jan 2013 07:30:30 +0000 (08:30 +0100)
commit37c042076521a854239241eaac94788076046231
tree46a7604b988f53553cb50d30946c6139ffc31c07
parentdf1d1fb09aed7aae0f94a5ba1a39d0477dee6f1d
ALSA: hda/realtek - Allow different pins for shared hp/mic vref check

Add a new field to indicate the possible pin NID for alternative vref
setup for the shared hp/mic.  Although 0x18 is valid for all Realtek
codecs, it'll be different on other vendor's codecs.

Also, drop the sanity check in update_shared_mic_hp() since the
reference pin is set explicitly in the caller side.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c