aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_sigmatel.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda/patch_sigmatel.c')
-rw-r--r--sound/pci/hda/patch_sigmatel.c27
1 files changed, 25 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 14db35a61cfe..f98c7e997877 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -33,7 +33,6 @@
33#include <sound/jack.h> 33#include <sound/jack.h>
34#include "hda_codec.h" 34#include "hda_codec.h"
35#include "hda_local.h" 35#include "hda_local.h"
36#include "hda_patch.h"
37#include "hda_beep.h" 36#include "hda_beep.h"
38 37
39enum { 38enum {
@@ -5461,7 +5460,7 @@ static int patch_stac9872(struct hda_codec *codec)
5461/* 5460/*
5462 * patch entries 5461 * patch entries
5463 */ 5462 */
5464struct hda_codec_preset snd_hda_preset_sigmatel[] = { 5463static struct hda_codec_preset snd_hda_preset_sigmatel[] = {
5465 { .id = 0x83847690, .name = "STAC9200", .patch = patch_stac9200 }, 5464 { .id = 0x83847690, .name = "STAC9200", .patch = patch_stac9200 },
5466 { .id = 0x83847882, .name = "STAC9220 A1", .patch = patch_stac922x }, 5465 { .id = 0x83847882, .name = "STAC9220 A1", .patch = patch_stac922x },
5467 { .id = 0x83847680, .name = "STAC9221 A1", .patch = patch_stac922x }, 5466 { .id = 0x83847680, .name = "STAC9221 A1", .patch = patch_stac922x },
@@ -5525,3 +5524,27 @@ struct hda_codec_preset snd_hda_preset_sigmatel[] = {
5525 { .id = 0x111d76b7, .name = "92HD71B5X", .patch = patch_stac92hd71bxx }, 5524 { .id = 0x111d76b7, .name = "92HD71B5X", .patch = patch_stac92hd71bxx },
5526 {} /* terminator */ 5525 {} /* terminator */
5527}; 5526};
5527
5528MODULE_ALIAS("snd-hda-codec-id:8384*");
5529MODULE_ALIAS("snd-hda-codec-id:111d*");
5530
5531MODULE_LICENSE("GPL");
5532MODULE_DESCRIPTION("IDT/Sigmatel HD-audio codec");
5533
5534static struct hda_codec_preset_list sigmatel_list = {
5535 .preset = snd_hda_preset_sigmatel,
5536 .owner = THIS_MODULE,
5537};
5538
5539static int __init patch_sigmatel_init(void)
5540{
5541 return snd_hda_add_codec_preset(&sigmatel_list);
5542}
5543
5544static void __exit patch_sigmatel_exit(void)
5545{
5546 snd_hda_delete_codec_preset(&sigmatel_list);
5547}
5548
5549module_init(patch_sigmatel_init)
5550module_exit(patch_sigmatel_exit)