projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a053d1e
)
ALSA: hda - initialize channel counts correctly
author
David Henningsson
<david.henningsson@canonical.com>
Wed, 16 Jan 2013 10:45:37 +0000
(11:45 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 16 Jan 2013 10:57:00 +0000
(11:57 +0100)
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>
sound/pci/hda/hda_generic.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/hda_generic.c
b/sound/pci/hda/hda_generic.c
index 68947fa234002639331a530229e11226c1f3f404..c33e019617cdd4c137a3c53ae85b2edbe26a5c87 100644
(file)
--- a/
sound/pci/hda/hda_generic.c
+++ b/
sound/pci/hda/hda_generic.c
@@
-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++)