mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-07 07:08:07 +00:00
[ALSA] hda-codec - Add support for VIA VT1708(A) HD audio codec
This patch is VIA first release for HD audio codec, VT1708(A) and it provides geneneral HD audio driver features. Signed-off-by: Joseph Chan <josephchan@via.com.tw> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
This commit is contained in:
parent
6c5cfd9d9d
commit
c577b8a16f
4 changed files with 1402 additions and 1 deletions
|
@ -7,7 +7,8 @@ snd-hda-codec-objs := hda_codec.o \
|
||||||
patch_sigmatel.o \
|
patch_sigmatel.o \
|
||||||
patch_si3054.o \
|
patch_si3054.o \
|
||||||
patch_atihdmi.o \
|
patch_atihdmi.o \
|
||||||
patch_conexant.o
|
patch_conexant.o \
|
||||||
|
patch_via.o
|
||||||
ifdef CONFIG_PROC_FS
|
ifdef CONFIG_PROC_FS
|
||||||
snd-hda-codec-objs += hda_proc.o
|
snd-hda-codec-objs += hda_proc.o
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -52,6 +52,7 @@ struct hda_vendor_id {
|
||||||
static struct hda_vendor_id hda_vendor_ids[] = {
|
static struct hda_vendor_id hda_vendor_ids[] = {
|
||||||
{ 0x10ec, "Realtek" },
|
{ 0x10ec, "Realtek" },
|
||||||
{ 0x1057, "Motorola" },
|
{ 0x1057, "Motorola" },
|
||||||
|
{ 0x1106, "VIA" },
|
||||||
{ 0x11d4, "Analog Devices" },
|
{ 0x11d4, "Analog Devices" },
|
||||||
{ 0x13f6, "C-Media" },
|
{ 0x13f6, "C-Media" },
|
||||||
{ 0x14f1, "Conexant" },
|
{ 0x14f1, "Conexant" },
|
||||||
|
|
|
@ -16,6 +16,8 @@ extern struct hda_codec_preset snd_hda_preset_si3054[];
|
||||||
extern struct hda_codec_preset snd_hda_preset_atihdmi[];
|
extern struct hda_codec_preset snd_hda_preset_atihdmi[];
|
||||||
/* Conexant audio codec */
|
/* Conexant audio codec */
|
||||||
extern struct hda_codec_preset snd_hda_preset_conexant[];
|
extern struct hda_codec_preset snd_hda_preset_conexant[];
|
||||||
|
/* VIA codecs */
|
||||||
|
extern struct hda_codec_preset snd_hda_preset_via[];
|
||||||
|
|
||||||
static const struct hda_codec_preset *hda_preset_tables[] = {
|
static const struct hda_codec_preset *hda_preset_tables[] = {
|
||||||
snd_hda_preset_realtek,
|
snd_hda_preset_realtek,
|
||||||
|
@ -25,5 +27,6 @@ static const struct hda_codec_preset *hda_preset_tables[] = {
|
||||||
snd_hda_preset_si3054,
|
snd_hda_preset_si3054,
|
||||||
snd_hda_preset_atihdmi,
|
snd_hda_preset_atihdmi,
|
||||||
snd_hda_preset_conexant,
|
snd_hda_preset_conexant,
|
||||||
|
snd_hda_preset_via,
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
1396
sound/pci/hda/patch_via.c
Normal file
1396
sound/pci/hda/patch_via.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue