[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>
This commit is contained in:
Takashi Iwai 2005-05-25 16:41:43 +02:00 коммит произвёл Jaroslav Kysela
Родитель 9baf6507ff
Коммит 033a1f1092
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;