lkml.org 
[lkml]   [2011]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[103/272] ALSA: hda - Fix missing CA initialization for HDMI/DP
    2.6.37-stable review patch.  If anyone has any objections, please let us know.

    ------------------

    From: Takashi Iwai <tiwai@suse.de>

    commit 11839aed21881d7edd65dd79f22a8eb18426f672 upstream.

    The commit 53d7d69d8ffdfa60c5b66cc2e9ee0774aaaef5c0
    ALSA: hdmi - support infoframe for DisplayPort
    dropped the initialization of CA field accidentally.
    This resulted in only two-channel LPCM mode on Nvidia machines.

    Reference: kernel bug 28592
    https://bugzilla.kernel.org/show_bug.cgi?id=28592

    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    sound/pci/hda/patch_hdmi.c | 2 ++
    1 file changed, 2 insertions(+)

    --- a/sound/pci/hda/patch_hdmi.c
    +++ b/sound/pci/hda/patch_hdmi.c
    @@ -642,6 +642,7 @@ static void hdmi_setup_audio_infoframe(s
    hdmi_ai->ver = 0x01;
    hdmi_ai->len = 0x0a;
    hdmi_ai->CC02_CT47 = channels - 1;
    + hdmi_ai->CA = ca;
    hdmi_checksum_audio_infoframe(hdmi_ai);
    } else if (spec->sink_eld[i].conn_type == 1) { /* DisplayPort */
    struct dp_audio_infoframe *dp_ai;
    @@ -651,6 +652,7 @@ static void hdmi_setup_audio_infoframe(s
    dp_ai->len = 0x1b;
    dp_ai->ver = 0x11 << 2;
    dp_ai->CC02_CT47 = channels - 1;
    + dp_ai->CA = ca;
    } else {
    snd_printd("HDMI: unknown connection type at pin %d\n",
    pin_nid);



    \
     
     \ /
      Last update: 2011-02-16 01:25    [W:0.021 / U:0.224 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site