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: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c
index 68947fa..c33e019 100644
--- a/sound/pci/hda/hda_generic.c
+++ b/sound/pci/hda/hda_generic.c
@@ -1400,7 +1400,7 @@
}
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++)