lkml.org 
[lkml]   [2011]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[196/262] ALSA: hda - Add support for 92HD65 / 92HD66 family of codecs
    3.0-stable review patch.  If anyone has any objections, please let me know.

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

    From: Charles Chin <Charles.Chin@idt.com>

    commit ad5d8755116b431f0709c745ee17cb567a478d43 upstream.

    These codecs have SPDIF-in, which is new to the 92HD83xxx compatible
    families, so a bit of logic is added to support them.

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

    ---
    sound/pci/hda/patch_sigmatel.c | 18 +++++++++++++++++-
    1 file changed, 17 insertions(+), 1 deletion(-)

    --- a/sound/pci/hda/patch_sigmatel.c
    +++ b/sound/pci/hda/patch_sigmatel.c
    @@ -5486,7 +5486,11 @@ again:
    }
    #endif

    - err = stac92xx_parse_auto_config(codec, 0x1d, 0);
    + /* 92HD65/66 series has S/PDIF-IN */
    + if (codec->vendor_id >= 0x111d76e8 && codec->vendor_id <= 0x111d76f3)
    + err = stac92xx_parse_auto_config(codec, 0x1d, 0x22);
    + else
    + err = stac92xx_parse_auto_config(codec, 0x1d, 0);
    if (!err) {
    if (spec->board_config < 0) {
    printk(KERN_WARNING "hda_codec: No auto-config is "
    @@ -6369,6 +6373,18 @@ static const struct hda_codec_preset snd
    { .id = 0x111d76e3, .name = "92HD98BXX", .patch = patch_stac92hd83xxx},
    { .id = 0x111d76e5, .name = "92HD99BXX", .patch = patch_stac92hd83xxx},
    { .id = 0x111d76e7, .name = "92HD90BXX", .patch = patch_stac92hd83xxx},
    + { .id = 0x111d76e8, .name = "92HD66B1X5", .patch = patch_stac92hd83xxx},
    + { .id = 0x111d76e9, .name = "92HD66B2X5", .patch = patch_stac92hd83xxx},
    + { .id = 0x111d76ea, .name = "92HD66B3X5", .patch = patch_stac92hd83xxx},
    + { .id = 0x111d76eb, .name = "92HD66C1X5", .patch = patch_stac92hd83xxx},
    + { .id = 0x111d76ec, .name = "92HD66C2X5", .patch = patch_stac92hd83xxx},
    + { .id = 0x111d76ed, .name = "92HD66C3X5", .patch = patch_stac92hd83xxx},
    + { .id = 0x111d76ee, .name = "92HD66B1X3", .patch = patch_stac92hd83xxx},
    + { .id = 0x111d76ef, .name = "92HD66B2X3", .patch = patch_stac92hd83xxx},
    + { .id = 0x111d76f0, .name = "92HD66B3X3", .patch = patch_stac92hd83xxx},
    + { .id = 0x111d76f1, .name = "92HD66C1X3", .patch = patch_stac92hd83xxx},
    + { .id = 0x111d76f2, .name = "92HD66C2X3", .patch = patch_stac92hd83xxx},
    + { .id = 0x111d76f3, .name = "92HD66C3/65", .patch = patch_stac92hd83xxx},
    {} /* terminator */
    };




    \
     
     \ /
      Last update: 2011-11-10 05:59    [W:4.895 / U:0.100 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site