Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 033a1f10 authored by Takashi Iwai's avatar Takashi Iwai Committed by Jaroslav Kysela
Browse files

[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: default avatarTakashi Iwai <tiwai@suse.de>
parent 9baf6507
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;