ALSA: hda - Initialize special cases for input src in init phase
authorTakashi Iwai <tiwai@suse.de>
Thu, 10 Mar 2011 11:51:11 +0000 (12:51 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Mar 2011 20:03:56 +0000 (13:03 -0700)
commit24449f05b663f1984ee6ecdba5a0d2ff2a1e0462
treed131c2cd4d761412a05afb366009b37642afe0d3
parent6f1d6832db2fbade524f37cb23d246b45cb01e2a
ALSA: hda - Initialize special cases for input src in init phase

commit 584c0c4c359bdac37d94157f8d7fc513d26c8328 upstream.

Currently some special handling for the unusual case like dual-ADCs
or a single-input-src is done in the tree-parse time in
set_capture_mixer().  But this setup could be overwritten by static
init verbs.

This patch moves the initialization into the init phase so that
such input-src setup won't be lost.

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