ALSA: hda - Share digital I/O parser in patch_realtek.c
authorTakashi Iwai <tiwai@suse.de>
Fri, 30 Jul 2010 08:48:14 +0000 (10:48 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 30 Jul 2010 08:48:14 +0000 (10:48 +0200)
commit757899aceebc33d9f86bbc481be7b7bf861e89ac
treeba07222b92186c8092a228fd0c2ce1630f917765
parentce503f38bdb59c9175a9076215a3ba579fad4e64
ALSA: hda - Share digital I/O parser in patch_realtek.c

Make a helper function to parse the digital I/Os of all Realtek codecs
to simplify the code and to ensure the setups.
Also, initialize digital I/O pins properly in init callbacks.  Some BIOS
seem to leave pins uninitialized.

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