Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 89724958 authored by David Henningsson's avatar David Henningsson Committed by Takashi Iwai
Browse files

ALSA: HDA: Do not announce false surround in Conexant auto

Without this patch, one line-out and one speaker and
Conexant's auto parser would announce (non-working) surround
capabilities.

BugLink: http://bugs.launchpad.net/bugs/721126


Cc: stable@kernel.org
Signed-off-by: default avatarDavid Henningsson <david.henningsson@canonical.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 983345e5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3410,7 +3410,7 @@ static void cx_auto_parse_output(struct hda_codec *codec)
		}
	}
	spec->multiout.dac_nids = spec->private_dac_nids;
	spec->multiout.max_channels = nums * 2;
	spec->multiout.max_channels = spec->multiout.num_dacs * 2;

	if (cfg->hp_outs > 0)
		spec->auto_mute = 1;