]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita9edfc941439988517c71a8b121d55b779abf0b6
treed9422a37d30c4666f18ed6887ed928981ce33d75
parent72af859c4b9fd8d8733de7b78a519034553ea466
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