]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - sound/pci/hda/patch_realtek.c
ALSA: hda/realtek - Fix surround output regression on Acer Aspire 5935
authorTakashi Iwai <tiwai@suse.de>
Fri, 17 Feb 2012 09:12:38 +0000 (10:12 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 17 Feb 2012 09:28:06 +0000 (10:28 +0100)
commitef8d60fb79614a86a82720dc2402631dbcafb315
treee2de1e381ad0ff070f7b67f49bac691c291eb16f
parentc14c95f62ecb8710af14ae0d48e01991b70bb6f4
ALSA: hda/realtek - Fix surround output regression on Acer Aspire 5935

The previous fix for the speaker on Acer Aspire 59135 introduced
another problem for surround outputs.  It changed the connections on
the line-in/mic pins for limiting the routes, but it left the modified
connections.  Thus wrong connection indices were written when set to
4ch or 6ch mode.

This patch fixes it by restoring the right connections just after
parsing the tree but before the initialization.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=42740

Cc: <stable@kernel.org> [v3.2+]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c