git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
9d5b28d
)
Merge branch 'fix/hda' into for-linus
author
Takashi Iwai
<tiwai@suse.de>
Thu, 16 Jul 2009 14:35:47 +0000
(16:35 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 16 Jul 2009 14:35:47 +0000
(16:35 +0200)
* fix/hda:
ALSA: hda_intel: more strict alc880_parse_auto_config dig_nid checking
sound/pci/hda/patch_realtek.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/patch_realtek.c
b/sound/pci/hda/patch_realtek.c
index
bbb9b42
..
7e99763
100644
(file)
--- a/
sound/pci/hda/patch_realtek.c
+++ b/
sound/pci/hda/patch_realtek.c
@@
-4505,6
+4505,12
@@
static int alc880_parse_auto_config(struct hda_codec *codec)
&dig_nid, 1);
if (err < 0)
continue;
+ if (dig_nid > 0x7f) {
+ printk(KERN_ERR "alc880_auto: invalid dig_nid "
+ "connection 0x%x for NID 0x%x\n", dig_nid,
+ spec->autocfg.dig_out_pins[i]);
+ continue;
+ }
if (!i)
spec->multiout.dig_out_nid = dig_nid;
else {