if (err < 0) goto error; return 0; error: cs_free(codec); return err; } /* * patch entries */ static const struct hda_device_id snd_hda_id_cirrus[] = { HDA_CODEC_ENTRY(0x10134206, "CS4206", patch_cs420x), HDA_CODEC_ENTRY(0x10134207, "CS4207", patch_cs420x), HDA_CODEC_ENTRY(0x10134208, "CS4208", patch_cs4208), HDA_CODEC_ENTRY(0x10134210, "CS4210", patch_cs4210), HDA_CODEC_ENTRY(0x10134213, "CS4213", patch_cs4213), {} /* terminator */ }; MODULE_DEVICE_TABLE(hdaudio, snd_hda_id_cirrus); MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("Cirrus Logic HD-audio codec"); static struct hda_codec_driver cirrus_driver = { .id = snd_hda_id_cirrus, };
} snd_hda_apply_fixup(codec, HDA_FIXUP_ACT_PROBE); return 0; error: cx_auto_free(codec); return err; } /* */ static const struct hda_device_id snd_hda_id_conexant[] = { HDA_CODEC_ENTRY(0x14f12008, "CX8200", patch_conexant_auto), HDA_CODEC_ENTRY(0x14f15045, "CX20549 (Venice)", patch_conexant_auto), HDA_CODEC_ENTRY(0x14f15047, "CX20551 (Waikiki)", patch_conexant_auto), HDA_CODEC_ENTRY(0x14f15051, "CX20561 (Hermosa)", patch_conexant_auto), HDA_CODEC_ENTRY(0x14f15066, "CX20582 (Pebble)", patch_conexant_auto), HDA_CODEC_ENTRY(0x14f15067, "CX20583 (Pebble HSF)", patch_conexant_auto), HDA_CODEC_ENTRY(0x14f15068, "CX20584", patch_conexant_auto), HDA_CODEC_ENTRY(0x14f15069, "CX20585", patch_conexant_auto), HDA_CODEC_ENTRY(0x14f1506c, "CX20588", patch_conexant_auto), HDA_CODEC_ENTRY(0x14f1506e, "CX20590", patch_conexant_auto), HDA_CODEC_ENTRY(0x14f15097, "CX20631", patch_conexant_auto), HDA_CODEC_ENTRY(0x14f15098, "CX20632", patch_conexant_auto), HDA_CODEC_ENTRY(0x14f150a1, "CX20641", patch_conexant_auto), HDA_CODEC_ENTRY(0x14f150a2, "CX20642", patch_conexant_auto), HDA_CODEC_ENTRY(0x14f150ab, "CX20651", patch_conexant_auto), HDA_CODEC_ENTRY(0x14f150ac, "CX20652", patch_conexant_auto),
if (err < 0) goto error; return 0; error: snd_hda_gen_free(codec); return err; } /* * patch entries */ static const struct hda_device_id snd_hda_id_ca0110[] = { HDA_CODEC_ENTRY(0x1102000a, "CA0110-IBG", patch_ca0110), HDA_CODEC_ENTRY(0x1102000b, "CA0110-IBG", patch_ca0110), HDA_CODEC_ENTRY(0x1102000d, "SB0880 X-Fi", patch_ca0110), {} /* terminator */ }; MODULE_DEVICE_TABLE(hdaudio, snd_hda_id_ca0110); MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("Creative CA0110-IBG HD-audio codec"); static struct hda_codec_driver ca0110_driver = { .id = snd_hda_id_ca0110, }; module_hda_codec_driver(ca0110_driver);