14 #include <linux/module.h>
15 #include <linux/device.h>
23 #define DRV_NAME "pcm030-audio-fabric"
33 .stream_name =
"AC97 Analog",
34 .codec_dai_name =
"wm9712-hifi",
35 .cpu_dai_name =
"mpc5200-psc-ac97.0",
36 .codec_name =
"wm9712-codec",
40 .stream_name =
"AC97 IEC958",
41 .codec_dai_name =
"wm9712-aux",
42 .cpu_dai_name =
"mpc5200-psc-ac97.1",
43 .codec_name =
"wm9712-codec",
50 .dai_link = pcm030_fabric_dai,
72 platform_set_drvdata(op, pdata);
83 card->
dai_link[i].platform_of_node = platform_np;
85 ret = request_module(
"snd-soc-wm9712");
87 dev_err(&op->
dev,
"request_module returned: %d\n", ret);
91 dev_err(&op->
dev,
"platform_device_alloc() failed\n");
95 dev_err(&op->
dev,
"platform_device_add() failed: %d\n", ret);
99 dev_err(&op->
dev,
"snd_soc_register_card() failed: %d\n", ret);
116 { .compatible =
"phytec,pcm030-audio-fabric", },
122 .probe = pcm030_fabric_probe,
127 .of_match_table = pcm030_audio_match,