12 #include <linux/module.h>
24 #include "../codecs/wm9712.h"
41 if (event & SND_SOC_DAPM_PRE_PMU)
55 e800_hp_amp_event, SND_SOC_DAPM_PRE_PMU |
58 e800_spk_amp_event, SND_SOC_DAPM_PRE_PMU |
63 {
"Headphone Jack",
NULL,
"HPOUTL"},
64 {
"Headphone Jack",
NULL,
"HPOUTR"},
65 {
"Headphone Jack",
NULL,
"Headphone Amp"},
67 {
"Speaker Amp",
NULL,
"MONOOUT"},
68 {
"Speaker",
NULL,
"Speaker Amp"},
70 {
"MIC1",
NULL,
"Mic (Internal1)"},
71 {
"MIC2",
NULL,
"Mic (Internal2)"},
90 .stream_name =
"AC97 HiFi",
91 .cpu_dai_name =
"pxa2xx-ac97",
92 .codec_dai_name =
"wm9712-hifi",
93 .platform_name =
"pxa-pcm-audio",
94 .codec_name =
"wm9712-codec",
95 .init = e800_ac97_init,
99 .stream_name =
"AC97 Aux",
100 .cpu_dai_name =
"pxa2xx-ac97-aux",
101 .codec_dai_name =
"wm9712-aux",
102 .platform_name =
"pxa-pcm-audio",
103 .codec_name =
"wm9712-codec",
108 .name =
"Toshiba e800",
110 .dai_link = e800_dai,
114 static struct gpio e800_audio_gpios[] = {
133 dev_err(&pdev->
dev,
"snd_soc_register_card() failed: %d\n",
151 .name =
"e800-audio",