projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9baf650
)
[ALSA] hda-code: Fix the array size of codec list
author
Takashi Iwai
<tiwai@suse.de>
Wed, 25 May 2005 14:41:43 +0000
(16:41 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Sun, 29 May 2005 08:14:53 +0000
(10:14 +0200)
HDA Codec driver
Fixed the wrong array size of the codec pointer list.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.h
patch
|
blob
|
history
diff --git
a/sound/pci/hda/hda_codec.h
b/sound/pci/hda/hda_codec.h
index 43fc245d9a624ad83027302116d4b2f62109f72d..1b1203539ea6ed7c4356e8ab0b94fbd47c7233d1 100644
(file)
--- a/
sound/pci/hda/hda_codec.h
+++ b/
sound/pci/hda/hda_codec.h
@@
-419,7
+419,7
@@
struct hda_bus {
/* codec linked list */
struct list_head codec_list;
- struct hda_codec *caddr_tbl[HDA_MAX_CODEC_ADDRESS]; /* caddr -> codec */
+ struct hda_codec *caddr_tbl[HDA_MAX_CODEC_ADDRESS
+ 1
]; /* caddr -> codec */
struct semaphore cmd_mutex;