[alsa-devel] [PATCH 6/6] ASoC: davinci-pcm: convert to BATCH mode

Ben Gardiner bengardiner at nanometrics.ca
Wed May 25 14:17:00 CEST 2011


Hi Liam,

On Wed, May 25, 2011 at 5:52 AM, Liam Girdwood <lrg at ti.com> wrote:
> On 24/05/11 19:50, Ben Gardiner wrote:
>> [...]
>> @@ -603,15 +605,19 @@ static int davinci_pcm_prepare(struct snd_pcm_substream *substream)
>>               print_buf_info(prtd->asp_link[0], "asp_link[0]");
>>               print_buf_info(prtd->asp_link[1], "asp_link[1]");
>>
>> +             davinci_pcm_period_elapsed(substream);
>> +             davinci_pcm_period_elapsed(substream);
>
> I assume these are to do with the 2 period phase offset you have so it's probably better to comment this here too.

That's correct and yes I really should have commented this magic a
little. I will send an incremental patch that can be folded-in. Thanks
again.

Best Regards,
Ben Gardiner

---
Nanometrics Inc.
http://www.nanometrics.ca


More information about the Alsa-devel mailing list