Skip to content

Commit

Permalink
[ALSA] hda - Fix "alc262_sony_unsol[]" hda_verb array
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
github-user-2017 authored and tiwai committed Jun 9, 2008
1 parent aab2545 commit 7b1e879
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 7b1e879

Please sign in to comment.