[alsa-devel] [PATCH 2/4] ASoC: UDA1380: DATAI is slave only

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Mar 3 16:50:54 CET 2009


On Tue, Mar 03, 2009 at 04:10:52PM +0100, Philipp Zabel wrote:

> -	if ((fmt & SND_SOC_DAIFMT_MASTER_MASK) == SND_SOC_DAIFMT_CBM_CFM)
> -		iface |= R01_SIM;
> +	/* DATAI is slave only, so in single-link mode, this has to be slave */
> +	if ((fmt & SND_SOC_DAIFMT_MASTER_MASK) != SND_SOC_DAIFMT_CBS_CFS)
> +		return -EINVAL;

Hrm, is R01_SIM not required to be set?  I've no idea what it does so
quite possibly.


More information about the Alsa-devel mailing list