]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitab332e683c020364a16d16ad26c883093f724838
treee2de1e381ad0ff070f7b67f49bac691c291eb16f
parentd14b068f773df2379f44ce865644d8168e22d58b
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