[alsa-devel] [PATCH 3/4] ASoC: add imx-mc13783 sound support

Mark Brown broonie at opensource.wolfsonmicro.com
Tue May 15 20:30:35 CEST 2012


On Tue, May 15, 2012 at 01:53:51PM +0200, Philippe Rétornaz wrote:

> +	ret = snd_soc_dai_set_fmt(codec_dai, FMT_SSI);
> +	if (ret)
> +		return ret;
> +
> +	ret = snd_soc_dai_set_fmt(cpu_dai, FMT_SSI);
> +	if (ret)
> +		return ret;

Set this in the dai_link structure.  Please fix incrementally unless you
respin, same comments about apply if Samuel is OK as the CODEC driver.

> +	ret = snd_soc_dai_set_sysclk(codec_dai, MC13783_CLK_CLIA, 26000000, 0);
> +	if (ret)
> +		return ret;

We should probably have something for this in the dai_link too but we
don't.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20120515/38198701/attachment.sig 


More information about the Alsa-devel mailing list