diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-05-25 10:41:43 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-05-29 04:14:53 -0400 |
commit | 033a1f10923bdc3646750eef471a618f9d4c074b (patch) | |
tree | dd43abc3ce2dca45c3bbb397beed5692e26e0096 /sound/pci | |
parent | 9baf6507ff4d0dcab22460e8785582d4eaadebeb (diff) |
[ALSA] hda-code: Fix the array size of codec list
HDA Codec driver
Fixed the wrong array size of the codec pointer list.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/hda/hda_codec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h index 43fc245d9a62..1b1203539ea6 100644 --- a/sound/pci/hda/hda_codec.h +++ b/sound/pci/hda/hda_codec.h | |||
@@ -419,7 +419,7 @@ struct hda_bus { | |||
419 | 419 | ||
420 | /* codec linked list */ | 420 | /* codec linked list */ |
421 | struct list_head codec_list; | 421 | struct list_head codec_list; |
422 | struct hda_codec *caddr_tbl[HDA_MAX_CODEC_ADDRESS]; /* caddr -> codec */ | 422 | struct hda_codec *caddr_tbl[HDA_MAX_CODEC_ADDRESS + 1]; /* caddr -> codec */ |
423 | 423 | ||
424 | struct semaphore cmd_mutex; | 424 | struct semaphore cmd_mutex; |
425 | 425 | ||