Skip to contentSkip to conversation

ASoC: omap-mcbsp: Correct CBM_CFS dai format configuration

PATCH Applied Peter Ujfalusi 3 participants 3 messages Jan 16, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: omap-mcbsp: Correct CBM_CFS dai format configuration

We should select FSR also to be driven by McBSP, not only FSX.

---
Clearly the CBM_CFS is not widely used with McBSP, this is why it has not been noticed I believe.

Peter

 sound/soc/omap/omap-mcbsp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/omap/omap-mcbsp.c +1 -1
index 8b79cafab1e2..c7eb9dd67f60 100644
@@ -434,7 +434,7 @@ static int omap_mcbsp_dai_set_dai_fmt(struct snd_soc_dai *cpu_dai,
 	case SND_SOC_DAIFMT_CBM_CFS:
 		/* McBSP slave. FS clock as output */
 		regs->srgr2	|= FSGM;
-		regs->pcr0	|= FSXM;
+		regs->pcr0	|= FSXM | FSRM;
 		break;
 	case SND_SOC_DAIFMT_CBM_CFM:
 		/* McBSP slave */
Signature · 1 line
2.2.1