提交 89724958 编写于 作者: D David Henningsson 提交者: Takashi Iwai

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: NDavid Henningsson <david.henningsson@canonical.com>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 983345e5
...@@ -3410,7 +3410,7 @@ static void cx_auto_parse_output(struct hda_codec *codec) ...@@ -3410,7 +3410,7 @@ static void cx_auto_parse_output(struct hda_codec *codec)
} }
} }
spec->multiout.dac_nids = spec->private_dac_nids; 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) if (cfg->hp_outs > 0)
spec->auto_mute = 1; spec->auto_mute = 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册