]> err.no Git - linux-2.6/commitdiff
[ALSA] hda - Fix "alc262_sony_unsol[]" hda_verb array
authorAkio Idehara <zbe64533@gmail.com>
Mon, 9 Jun 2008 13:46:07 +0000 (22:46 +0900)
committerTakashi Iwai <tiwai@suse.de>
Mon, 9 Jun 2008 14:21:42 +0000 (16:21 +0200)
I think that hda_verb array must have "terminator (empty array)".
But alc262_sony_unsol[] does not have it.
And it causes gcc-4.3's buggy behavior
with snd_hda_sequence_write().

Signed-off-by: Akio Idehara <zbe64533@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

index 518b7cab510248e058c1d7b124be510e9feee30d..b0a2a262ece2f0101f8f885c0637ab37fd6e0ae6 100644 (file)
@@ -8642,6 +8642,7 @@ static struct hda_verb alc262_sony_unsol_verbs[] = {
 
        {0x15, AC_VERB_SET_UNSOLICITED_ENABLE, AC_USRSP_EN | ALC880_HP_EVENT},
        {0x15, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_HP},
+       {}
 };
 
 /* mute/unmute internal speaker according to the hp jack and mute state */