lkml.org 
[lkml]   [2010]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[165/289] ALSA: HDA: Add an extra DAC for Realtek ALC887-VD
    2.6.36-stable review patch.  If anyone has any objections, please let us know.

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

    From: David Henningsson <david.henningsson@canonical.com>

    commit cc1c452e509aefc28f7ad2deed75bc69d4f915f7 upstream.

    The patch enables ALC887-VD to use the DAC at nid 0x26,
    which makes it possible to use this DAC for e g Headphone
    volume.

    Signed-off-by: David Henningsson <david.henningsson@canonical.com>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    sound/pci/hda/patch_realtek.c | 4 +++-
    1 file changed, 3 insertions(+), 1 deletion(-)

    --- a/sound/pci/hda/patch_realtek.c
    +++ b/sound/pci/hda/patch_realtek.c
    @@ -18612,6 +18612,8 @@ static inline hda_nid_t alc662_mix_to_da
    return 0x02;
    else if (nid >= 0x0c && nid <= 0x0e)
    return nid - 0x0c + 0x02;
    + else if (nid == 0x26) /* ALC887-VD has this DAC too */
    + return 0x25;
    else
    return 0;
    }
    @@ -18620,7 +18622,7 @@ static inline hda_nid_t alc662_mix_to_da
    static hda_nid_t alc662_dac_to_mix(struct hda_codec *codec, hda_nid_t pin,
    hda_nid_t dac)
    {
    - hda_nid_t mix[4];
    + hda_nid_t mix[5];
    int i, num;

    num = snd_hda_get_connections(codec, pin, mix, ARRAY_SIZE(mix));



    \
     
     \ /
      Last update: 2010-12-08 02:33    [W:0.023 / U:0.224 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site