projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5aacc21
)
ALSA: hda - Increase the connection list size for ALC662
author
Takashi Iwai
<tiwai@suse.de>
Fri, 30 Jul 2010 08:37:29 +0000
(10:37 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 30 Jul 2010 08:37:29 +0000
(10:37 +0200)
Some ALC662-compatible codecs like ALC892 may have more than 4
connections for the input source. Use HDA_MAX_CONNECTIONS instead of
the fixed magic number 4.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/patch_realtek.c
b/sound/pci/hda/patch_realtek.c
index 14ef38352088d4b5c4705edc47b863a7bd3549cd..cf9f20805173e17996fab4c2e660dcefbc287382 100644
(file)
--- a/
sound/pci/hda/patch_realtek.c
+++ b/
sound/pci/hda/patch_realtek.c
@@
-18657,7
+18657,7
@@
static void alc662_auto_set_output_and_unmute(struct hda_codec *codec,
hda_nid_t dac)
{
int i, num;
- hda_nid_t srcs[
4
];
+ hda_nid_t srcs[
HDA_MAX_CONNECTIONS
];
alc_set_pin_output(codec, nid, pin_type);
/* need the manual connection? */