]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Create snd_hda_get_conn_index() helper function
authorTakashi Iwai <tiwai@suse.de>
Tue, 28 Jun 2011 10:45:47 +0000 (12:45 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 29 Jun 2011 06:01:46 +0000 (08:01 +0200)
commit5ebbbf39e1be41d6ac225dd3eb1b4ebfe5f36b4f
tree817ba350193d4c1cd77546dbd0bbe0d68ee14ecf
parentedf3e68b64e61426534dbb2f17cddc11eb6446f0
ALSA: hda - Create snd_hda_get_conn_index() helper function

Create snd_hda_get_conn_index() helper function for obtaining the
connection index of the widget.  Replaced the similar codes used in
several codec-drivers with this common helper.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_codec.h
sound/pci/hda/patch_cirrus.c
sound/pci/hda/patch_cmedia.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