diff options
author | Tobin Davis <tdavis@dsl-only.net> | 2007-03-12 06:36:00 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-03-14 03:24:17 -0400 |
commit | a64c8cd6e22bbc6a101da5b827e720fff35a5ab9 (patch) | |
tree | 1960c26f88cf7ffcc53c3f40d23a759e4c4719dc /sound/pci/hda/patch_analog.c | |
parent | 19bfafb2ed1a59efb979b6725ab7626a94f7e078 (diff) |
[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 <tdavis@dsl-only.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/hda/patch_analog.c')
-rw-r--r-- | 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 00ace59b05c9..26a84e2f0051 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] = { | |||
2607 | [AD1988_AUTO] = "auto", | 2607 | [AD1988_AUTO] = "auto", |
2608 | }; | 2608 | }; |
2609 | 2609 | ||
2610 | static struct snd_pci_quirk ad1988_cfg_tbl[] = { | ||
2611 | SND_PCI_QUIRK(0x1043, 0x81f6, "Asus M2N-SLI", AD1988_6STACK_DIG), | ||
2612 | {} | ||
2613 | }; | ||
2614 | |||
2610 | static int patch_ad1988(struct hda_codec *codec) | 2615 | static int patch_ad1988(struct hda_codec *codec) |
2611 | { | 2616 | { |
2612 | struct ad198x_spec *spec; | 2617 | struct ad198x_spec *spec; |
@@ -2623,7 +2628,7 @@ static int patch_ad1988(struct hda_codec *codec) | |||
2623 | snd_printk(KERN_INFO "patch_analog: AD1988A rev.2 is detected, enable workarounds\n"); | 2628 | snd_printk(KERN_INFO "patch_analog: AD1988A rev.2 is detected, enable workarounds\n"); |
2624 | 2629 | ||
2625 | board_config = snd_hda_check_board_config(codec, AD1988_MODEL_LAST, | 2630 | board_config = snd_hda_check_board_config(codec, AD1988_MODEL_LAST, |
2626 | ad1988_models, NULL); | 2631 | ad1988_models, ad1988_cfg_tbl); |
2627 | if (board_config < 0) { | 2632 | if (board_config < 0) { |
2628 | printk(KERN_INFO "hda_codec: Unknown model for AD1988, trying auto-probe from BIOS...\n"); | 2633 | printk(KERN_INFO "hda_codec: Unknown model for AD1988, trying auto-probe from BIOS...\n"); |
2629 | board_config = AD1988_AUTO; | 2634 | board_config = AD1988_AUTO; |