summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorAkio Idehara <zbe64533@gmail.com>2008-06-09 22:46:07 +0900
committerTakashi Iwai <tiwai@suse.de>2008-06-09 16:20:18 +0200
commit37a0b53e30e0b0d43012c86537106c6e7cf545e8 (patch)
tree4b99ffbb1e37d05c3a439128d2a1230de62f7574 /sound
parent7e0b8d01ab625f1ce03ece4b98a1fa14f4ec9925 (diff)
[ALSA] hda - Fix "alc262_sony_unsol[]" hda_verb array
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_realtek.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 247fba5e9058..7997e13b59a6 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -8839,6 +8839,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 */