projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e22aab7
)
ALSA: hda - Fix multi-io pin assignment in create_multi_out_ctls()
author
Takashi Iwai
<tiwai@suse.de>
Fri, 4 Jan 2013 14:00:02 +0000
(15:00 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Sat, 12 Jan 2013 07:43:35 +0000
(08:43 +0100)
The multi-io pins are calculated with a blind assumption of
cfg->line_outs = 1. This isn't always true.
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 f9d3ea3c5a688fc1765c2691230ee320239ef654..93db02121efbd4ca8cf320cfeb018a7863ab22df 100644
(file)
--- a/
sound/pci/hda/hda_generic.c
+++ b/
sound/pci/hda/hda_generic.c
@@
-1368,7
+1368,7
@@
static int create_multi_out_ctls(struct hda_codec *codec,
if (!dac)
continue;
if (i >= cfg->line_outs) {
- pin = spec->multi_io[i -
1
].pin;
+ pin = spec->multi_io[i -
cfg->line_outs
].pin;
index = 0;
name = channel_name[i];
} else {
This page took
0.027765 seconds
and
5
git commands to generate.