[alsa-devel] [PATCH] Fix "alc262_sony_unsol[]" hda_verb array
idak
zbe64533 at gmail.com
Mon Jun 9 15:46:07 CEST 2008
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 at gmail.com>
---
sound/pci/hda/patch_realtek.c | 1 +
1 file changed, 1 insertion(+)
--- a/sound/pci/hda/patch_realtek.c 2008-06-08 19:23:57.000000000 +0900
+++ b/sound/pci/hda/patch_realtek.c 2008-06-08 19:42:19.000000000 +0900
@@ -8839,6 +8839,7 @@ static struct hda_verb alc262_sony_unsol
{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 */
More information about the Alsa-devel
mailing list