[alsa-devel] [PATCH] ASoC: omap-mcbsp: Correct CBM_CFS dai format configuration
We should select FSR also to be driven by McBSP, not only FSX.
Signed-off-by: Peter Ujfalusi peter.ujfalusi@ti.com --- 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(-)
diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c index 8b79cafab1e2..c7eb9dd67f60 100644 --- a/sound/soc/omap/omap-mcbsp.c +++ b/sound/soc/omap/omap-mcbsp.c @@ -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 */
On Fri, Jan 16, 2015 at 11:20:25AM +0200, Peter Ujfalusi wrote:
We should select FSR also to be driven by McBSP, not only FSX.
Signed-off-by: Peter Ujfalusi peter.ujfalusi@ti.com
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(-)
Acked-by: Jarkko Nikula jarkko.nikula@bitmer.com
participants (3)
-
Jarkko Nikula
-
Mark Brown
-
Peter Ujfalusi