summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorAkio Idehara <zbe64533@gmail.com>2008-07-26 16:40:14 +0900
committerGreg Kroah-Hartman <gregkh@suse.de>2008-08-01 11:50:49 -0700
commitd74797166a181f7aa1f0fdfbabe9944e87823074 (patch)
tree48ac9f7bebd852f491572efb94470d35f95eb01e /sound
parentaed2e3edbf681321a057b515e8438b655f28bf0b (diff)
ALSA: hda - Fix "alc262_sony_unsol[]" hda_verb array
[ALSA] hda - Fix "alc262_sony_unsol[]" hda_verb array commit 7b1e8795ebfe1705153d1001f2a899119f4d9012 upstream 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> Signed-off-by: Greg Kroah-Hartman <gregkh@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 52a7f0f07dba..37f274f71569 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -8517,6 +8517,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 */