Commit c577b8a1 authored by Joseph Chan's avatar Joseph Chan Committed by Jaroslav Kysela

[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: default avatarJoseph Chan <josephchan@via.com.tw>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarJaroslav Kysela <perex@suse.cz>
parent 6c5cfd9d
...@@ -7,7 +7,8 @@ snd-hda-codec-objs := hda_codec.o \ ...@@ -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 { ...@@ -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[]; ...@@ -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[] = { ...@@ -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
}; };
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment