ALSA: hda - Generalize input pin parsing in patch_realtek.c
authorTakashi Iwai <tiwai@suse.de>
Tue, 25 Aug 2009 11:10:18 +0000 (13:10 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 25 Aug 2009 11:10:18 +0000 (13:10 +0200)
commit05f5f477082f0b192dab5ac25ccc5d468d98ecbd
treeffd1f8b8d28af8e92ee81b1f4db1ba5c1b2d14ce
parent9d0b71b1cf7b7ff856d200841de3f3d7c64eb170
ALSA: hda - Generalize input pin parsing in patch_realtek.c

Provide a standard parser for input pins to create the input mixer
and input source controls instead of having a difference one for each
Realtek codec.  The new helper parses the codec connections dynamically
isntead of fixed indicies.

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