Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a64c8cd6e22bbc6a101da5b827e720fff35a5ab9
Commit:     a64c8cd6e22bbc6a101da5b827e720fff35a5ab9
Parent:     19bfafb2ed1a59efb979b6725ab7626a94f7e078
Author:     Tobin Davis <[EMAIL PROTECTED]>
AuthorDate: Mon Mar 12 11:36:00 2007 +0100
Committer:  Jaroslav Kysela <[EMAIL PROTECTED]>
CommitDate: Wed Mar 14 08:24:17 2007 +0100

    [ALSA] hda-codec - Add suppoprt for Asus M2N-SLI motherboard
    
    This patch adds a cfg_tbl to the ad1988 code with the Asus M2N-SLI as
    it's first member.
    
    Signed-off-by: Tobin Davis <[EMAIL PROTECTED]>
    Signed-off-by: Takashi Iwai <[EMAIL PROTECTED]>
    Signed-off-by: Jaroslav Kysela <[EMAIL PROTECTED]>
---
 sound/pci/hda/patch_analog.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c
index 00ace59..26a84e2 100644
--- a/sound/pci/hda/patch_analog.c
+++ b/sound/pci/hda/patch_analog.c
@@ -2607,6 +2607,11 @@ static const char *ad1988_models[AD1988_MODEL_LAST] = {
        [AD1988_AUTO]           = "auto",
 };
 
+static struct snd_pci_quirk ad1988_cfg_tbl[] = {
+       SND_PCI_QUIRK(0x1043, 0x81f6, "Asus M2N-SLI", AD1988_6STACK_DIG),
+       {}
+};
+
 static int patch_ad1988(struct hda_codec *codec)
 {
        struct ad198x_spec *spec;
@@ -2623,7 +2628,7 @@ static int patch_ad1988(struct hda_codec *codec)
                snd_printk(KERN_INFO "patch_analog: AD1988A rev.2 is detected, 
enable workarounds\n");
 
        board_config = snd_hda_check_board_config(codec, AD1988_MODEL_LAST,
-                                                 ad1988_models, NULL);
+                                                 ad1988_models, 
ad1988_cfg_tbl);
        if (board_config < 0) {
                printk(KERN_INFO "hda_codec: Unknown model for AD1988, trying 
auto-probe from BIOS...\n");
                board_config = AD1988_AUTO;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to