ALSA: hda/realtek - Fix initialization of input amps in output paths
authorTakashi Iwai <tiwai@suse.de>
Thu, 13 Dec 2012 15:43:52 +0000 (16:43 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 10 Jan 2013 09:34:30 +0000 (10:34 +0100)
commit9366ede7fd2c3ac7ed3a79c5d7c5ee4ad97043b8
treed9422a37d30c4666f18ed6887ed928981ce33d75
parentbd32f782b956e6a3040696899a818387ecbe17bc
ALSA: hda/realtek - Fix initialization of input amps in output paths

When initializing the output paths, we assumed the input amps have
almost two inputs blindly.  It's not only generic but even incorrect
for some codecs like ALC268 & co.  Also, the same assumption (two
sources) exists for the bind input-amp controls.

This patch changes the codes in these places to handle the input
connections in a more generic way.

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