[alsa-devel] [PATCH 3/5] ASoC: DaVinci: CQ93VC Voice Codec
Mark Brown
broonie at opensource.wolfsonmicro.com
Mon Jan 25 12:11:04 CET 2010
On Thu, Jan 21, 2010 at 11:41:00AM -0600, miguel.aguilar at ridgerun.com wrote:
> +static __init int cq93vc_codec_probe(struct platform_device *pdev)
> +{
...
> + cq93vc_codec = codec;
> +
> + ret = snd_soc_register_dai(&cq93vc_dai);
> + if (ret != 0) {
> + dev_err(davinci_vc->dev, "could register dai\n");
> + goto fail1;
> + }
> + return 0;
There should also be a snd_soc_register_codec() before this, and
similarly on the remove. Otherwise this looks good.
More information about the Alsa-devel
mailing list