]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit61901ffa4cf1204a65697df52a4d5c891b28feb8
treedf010ab3c53a2b4f3829593b56cdfa19f829115b
parent231b0d51c7cb36f2cf25a4c691dc5ac215a9da31
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