forked from luck/tmp_suning_uos_patched
2f2f4251c9
HDA generic driver,HDA Codec driver Add initial SigmaTel codec support for 9200 and 922x. Note that this hda patch relies on the configuration default registers to be set correctly (normally by BIOS/firmware) in order for it to set up pin widgets properly. There's a test switch in the patch so it will work with the SigmaTel reference boards that are usually plugged into a system that doesn't set the configuration default registers. It supports 2 channel analog out and line/mic in. I plan to add >2 channel support and spdif support shortly. Please apply. Signed-off-by: Matt <matt@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
21 lines
539 B
C
21 lines
539 B
C
/*
|
|
* HDA Patches - included by hda_codec.c
|
|
*/
|
|
|
|
/* Realtek codecs */
|
|
extern struct hda_codec_preset snd_hda_preset_realtek[];
|
|
/* C-Media codecs */
|
|
extern struct hda_codec_preset snd_hda_preset_cmedia[];
|
|
/* Analog Devices codecs */
|
|
extern struct hda_codec_preset snd_hda_preset_analog[];
|
|
/* SigmaTel codecs */
|
|
extern struct hda_codec_preset snd_hda_preset_sigmatel[];
|
|
|
|
static const struct hda_codec_preset *hda_preset_tables[] = {
|
|
snd_hda_preset_realtek,
|
|
snd_hda_preset_cmedia,
|
|
snd_hda_preset_analog,
|
|
snd_hda_preset_sigmatel,
|
|
NULL
|
|
};
|