lkml.org 
[lkml]   [2008]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 14/29] ALSA: hda - Fix "alc262_sony_unsol" hda_verb array
    2.6.25-stable review patch.  If anyone has any objections, please let us 
    know.

    ------------------
    From: Akio Idehara <zbe64533@gmail.com>

    [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>
    ---
    sound/pci/hda/patch_realtek.c | 1 +
    1 file changed, 1 insertion(+)

    --- 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

    {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 */
    --


    \
     
     \ /
      Last update: 2008-07-31 01:41    [W:0.023 / U:31.552 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site