From: Takashi Iwai Date: Fri, 17 Feb 2012 09:12:38 +0000 (+0100) Subject: ALSA: hda/realtek - Fix surround output regression on Acer Aspire 5935 X-Git-Tag: v3.2.9~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f421627d178f1346bb68c9e7b32b2bd5844ce1d;p=pandora-kernel.git ALSA: hda/realtek - Fix surround output regression on Acer Aspire 5935 commit ef8d60fb79614a86a82720dc2402631dbcafb315 upstream. 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 Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed