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 19:50:25 +0000 (12:50 -0700)
commit0dfb740ef2e6bda849828e3bb010551dde2a56d6
treeaa61a364b52cb94f25a2a413f2e6d5b7cde9eddf
parente54ee431f85d649c0c9a3a88cda5876be9c68104
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