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

ALSA: hda - initialize channel counts correctly

Even a single DAC can output two channels, so the channel count
is twice the number of DACs.
Signed-off-by: NDavid Henningsson <david.henningsson@canonical.com>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 a053d1e3
......@@ -1400,7 +1400,7 @@ static int fill_and_eval_dacs(struct hda_codec *codec,
}
spec->ext_channel_count = spec->min_channel_count =
spec->multiout.num_dacs;
spec->multiout.num_dacs * 2;
if (spec->multi_ios == 2) {
for (i = 0; i < 2; i++)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册