14 #include <linux/module.h>
20 #include "../codecs/wm8750.h"
23 {
"Headphone Jack",
NULL,
"LOUT1" },
24 {
"Headphone Jack",
NULL,
"ROUT1" },
25 {
"Internal Speaker",
NULL,
"LOUT2" },
26 {
"Internal Speaker",
NULL,
"ROUT2" },
27 {
"LINPUT1",
NULL,
"Line Input" },
28 {
"RINPUT1",
NULL,
"Line Input" },
97 .hw_params = jive_hw_params,
118 .stream_name =
"WM8750",
119 .cpu_dai_name =
"s3c2412-i2s",
120 .codec_dai_name =
"wm8750-hifi",
121 .platform_name =
"samsung-audio",
122 .codec_name =
"wm8750.0-001a",
123 .init = jive_wm8750_init,
131 .dai_link = &jive_dai,
134 .dapm_widgets = wm8750_dapm_widgets,
135 .num_dapm_widgets =
ARRAY_SIZE(wm8750_dapm_widgets),
136 .dapm_routes = audio_map,
142 static int __init jive_init(
void)
146 if (!machine_is_jive())
149 printk(
"JIVE WM8750 Audio support\n");
152 if (!jive_snd_device)
155 platform_set_drvdata(jive_snd_device, &snd_soc_machine_jive);
164 static void __exit jive_exit(
void)