ALSA: hda - Add snd_hda_get_default_vref() helper function
authorTakashi Iwai <tiwai@suse.de>
Fri, 20 Apr 2012 11:06:53 +0000 (13:06 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 20 Apr 2012 11:06:53 +0000 (13:06 +0200)
commit4740860b534e86d7db3b26cbd980bec8e4c807e8
treedf010ab3c53a2b4f3829593b56cdfa19f829115b
parentcdd03cedc5b55da017fcdeff7d47cac2639cded8
ALSA: hda - Add snd_hda_get_default_vref() helper function

Add a new helper function to guess the default VREF pin control bits
for mic in.  This can be used to set the pin control value safely
matching with the actual pin capabilities.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_local.h
sound/pci/hda/patch_analog.c
sound/pci/hda/patch_ca0110.c
sound/pci/hda/patch_ca0132.c
sound/pci/hda/patch_cirrus.c
sound/pci/hda/patch_conexant.c
sound/pci/hda/patch_realtek.c
sound/pci/hda/patch_sigmatel.c
sound/pci/hda/patch_via.c