33 #include <linux/module.h>
72 dev_err(card->
dev,
"can't set codec DAI configuration\n");
79 dev_err(card->
dev,
"can't set cpu DAI configuration\n");
87 .hw_params = omap_twl4030_hw_params,
94 .stream_name =
"TWL4030",
95 .cpu_dai_name =
"omap-mcbsp.2",
96 .codec_dai_name =
"twl4030-hifi",
97 .platform_name =
"omap-pcm-audio",
98 .codec_name =
"twl4030-codec",
99 .ops = &omap_twl4030_ops,
106 .dai_link = omap_twl4030_dai_links,
107 .num_links =
ARRAY_SIZE(omap_twl4030_dai_links),
123 dev_err(&pdev->
dev,
"Card name is not provided\n");
129 dev_err(&pdev->
dev,
"McBSP node is not provided\n");
139 dev_err(&pdev->
dev,
"Card name is not provided\n");
149 dev_err(&pdev->
dev,
"snd_soc_register_card() failed: %d\n",
166 static const struct of_device_id omap_twl4030_of_match[] = {
167 {.compatible =
"ti,omap-twl4030", },
174 .name =
"omap-twl4030",
177 .of_match_table = omap_twl4030_of_match,
179 .probe = omap_twl4030_probe,