AnsweredAssumed Answered

ASoC: DAI_CPU as master

Question asked by Rob. on Mar 29, 2012
Latest reply on Mar 30, 2012 by ScottJiang

According to following code snippet from bf5xx-i2s.c:

 

switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) {

   case SND_SOC_DAIFMT_CBM_CFM:

      break;

   case SND_SOC_DAIFMT_CBS_CFS:

   case SND_SOC_DAIFMT_CBM_CFS:

   case SND_SOC_DAIFMT_CBS_CFM:

      ret = -EINVAL;

   break;

 

... any setup of CPU as master and codec as slave is not provided, but the SPORT does support operation of the codec as slave. Is there any other restriction, or is it simply lack of some code that would be necessary in order to allow this setup?

Outcomes