On Mon, 9 Nov 2009 09:29:01 +0200 Peter Ujfalusi <peter.ujfalusi@xxxxxxxxx> wrote: > I think if I set the mcbsp_data->in_freq to be: > params_rate(params) * sample_bits * channels, and configure the mcbsp_data- > >clk_div to be 1, might work in this case. > I think it's cleanest to calculate frame size conditionally based on SND_SOC_DAIFMT_CBS_CFS or testing !in_freq and let the frame size to be wlen * channels in other cases. If it's based on !in_freq, then the in_freq must be set in omap_mcbsp_dai_set_dai_sysclk only for OMAP_MCBSP_SYSCLK_xxx cases since this function is called also when setting CLKR and FSR sources (no need to pass frequency). -- Jarkko _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel