|
@@ -271,7 +271,7 @@ static int davinci_i2s_set_dai_fmt(struct snd_soc_dai *cpu_dai,
|
|
|
}
|
|
|
|
|
|
switch (fmt & SND_SOC_DAIFMT_INV_MASK) {
|
|
|
- case SND_SOC_DAIFMT_IB_NF:
|
|
|
+ case SND_SOC_DAIFMT_NB_NF:
|
|
|
/* CLKRP Receive clock polarity,
|
|
|
* 1 - sampled on rising edge of CLKR
|
|
|
* valid on rising edge
|
|
@@ -283,7 +283,7 @@ static int davinci_i2s_set_dai_fmt(struct snd_soc_dai *cpu_dai,
|
|
|
*/
|
|
|
pcr |= (DAVINCI_MCBSP_PCR_CLKXP | DAVINCI_MCBSP_PCR_CLKRP);
|
|
|
break;
|
|
|
- case SND_SOC_DAIFMT_NB_IF:
|
|
|
+ case SND_SOC_DAIFMT_IB_IF:
|
|
|
/* CLKRP Receive clock polarity,
|
|
|
* 0 - sampled on falling edge of CLKR
|
|
|
* valid on falling edge
|
|
@@ -295,7 +295,7 @@ static int davinci_i2s_set_dai_fmt(struct snd_soc_dai *cpu_dai,
|
|
|
*/
|
|
|
pcr |= (DAVINCI_MCBSP_PCR_FSXP | DAVINCI_MCBSP_PCR_FSRP);
|
|
|
break;
|
|
|
- case SND_SOC_DAIFMT_IB_IF:
|
|
|
+ case SND_SOC_DAIFMT_NB_IF:
|
|
|
/* CLKRP Receive clock polarity,
|
|
|
* 1 - sampled on rising edge of CLKR
|
|
|
* valid on rising edge
|
|
@@ -308,7 +308,7 @@ static int davinci_i2s_set_dai_fmt(struct snd_soc_dai *cpu_dai,
|
|
|
pcr |= (DAVINCI_MCBSP_PCR_CLKXP | DAVINCI_MCBSP_PCR_CLKRP |
|
|
|
DAVINCI_MCBSP_PCR_FSXP | DAVINCI_MCBSP_PCR_FSRP);
|
|
|
break;
|
|
|
- case SND_SOC_DAIFMT_NB_NF:
|
|
|
+ case SND_SOC_DAIFMT_IB_NF:
|
|
|
/* CLKRP Receive clock polarity,
|
|
|
* 0 - sampled on falling edge of CLKR
|
|
|
* valid on falling edge
|